-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Implement testing in React 0.14, 15, 16, add wallaby.js, use enzyme #984
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
a84f1e9
begin work
cellog a2efb5d
Fix tests in 0.14, 15, and 16
cellog ab6f165
remove 15.4, not really necessary and it requires a tweak to the inst…
cellog cf436c9
fix 2 major potential issues
cellog c974795
update contributing docs and add missing test:watch
cellog bfd167e
re-work to use subdirectories for testing specific react versions
cellog 85f9a27
fully working! with merged coverage!
cellog 4aef279
fix linting, remove unnecessary file
cellog 9173e32
fix test:watch
cellog 90388aa
fix travis tests to run in parallel for each version
cellog 2a4fe9d
oops, didn't make travis run the CI test
cellog 35ddbd5
sigh... npm syntax error
cellog a8249a8
speed up test suites by only installing the specific version needed
cellog 283e12e
remove unused plugin
cellog 2deaefc
simplify test script options in package.json
cellog 9a9c7ff
simpler gitignore
cellog 44e94f6
remove unnecessary coverage merging, codecov does that automagically
cellog e52b97b
simplify test running
cellog 232030a
new docs on testing specific React versions
cellog 94d0f3c
move scripts to test/, remove unused dep
cellog c2c62a3
revert unintentional cosmetic changes
cellog 8a778a8
add default version for "npm test"
cellog 42c4cd8
revert unintentional cosmetic changes to test import order
cellog 1a6550a
restore the correct test renderer version
cellog 6e38790
fix travis, add a note about the matrix needing update on adding a Re…
cellog dfe68f1
Add cross-spawn dependency
markerikson dc75723
Use cross-spawn for consistent NPM installations cross-platform
markerikson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
language: node_js | ||
node_js: | ||
- "8" | ||
before_install: | ||
- 'nvm install-latest-npm' | ||
env: | ||
global: | ||
- TEST=true | ||
matrix: | ||
- REACT=0.14 | ||
- REACT=15 | ||
- REACT=16.2 | ||
- REACT=16.3 | ||
- REACT=16.4 | ||
sudo: false | ||
script: | ||
- npm run lint | ||
- npm test | ||
- npm run test:ci | ||
after_success: | ||
- npm run coverage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can wildcard this (
test/react/*/test/**/*.spec.js
) so you don't have to list every subdirectory out or maintain it with newer versions of React.