Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change ShallowWrapper.text() trim spaces with same behavior as ReactWrapper.text() #1350

Merged
merged 3 commits into from
Nov 14, 2017

Commits on Nov 14, 2017

  1. Change shallowWrapper.text() to handle spaces same behavior as ReactW…

    …rapper.text()
    
    - remove empty nodes
    - remove double spaces
    - remove spaces from beginning or end
    - not sure all those are all the rule, need to check
    - couldn't run tests
    Idan Levin committed Nov 14, 2017
    Configuration menu
    Copy the full SHA
    e58f8b0 View commit details
    Browse the repository at this point in the history
  2. fixed Unexpected token error

    Idan Levin committed Nov 14, 2017
    Configuration menu
    Copy the full SHA
    6d0dbe4 View commit details
    Browse the repository at this point in the history
  3. fixed typo; remove replace spaces (ReactWrapper.text() not removing a…

    …ny spaces); fix env on Windows;
    Idan Levin committed Nov 14, 2017
    Configuration menu
    Copy the full SHA
    3077c0b View commit details
    Browse the repository at this point in the history