-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
add enzyme-adapter-react-17 #2564
Open
eps1lon
wants to merge
30
commits into
enzymejs:master
Choose a base branch
from
eps1lon:feat/support-react17-sebbie
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
e91c355
[New] add `enzyme-adapter-react-17`
ljharb 0797375
feat: add an adapter for React 17
layershifter 42fce4a
add versions to CI
layershifter 46de537
version updates
layershifter 13111be
offscreencomponent wip
ljharb 1337f75
test TODOs
ljharb 07504db
Remove TODO_17 tags
createthis 75a15f4
Fix two failing tests by using less fragile syntax.
createthis 658595a
Fix another test with fragile matching.
createthis 9625c9f
componentWillReceiveProps and UNSAFE_componentWillReceiveProps removed
createthis 7a54423
Fix shallow() so that it calls componentWillReceiveProps() and
createthis 938d10a
Forgot a test case. Call componentWillReceiveProps() even when shallow
createthis bbab94b
displayNameOfNode gets a little wonky when used with React.memo and
createthis 9a432a6
punt on the simulate failure. I worked on this all day yesterday and
createthis 1f48ca9
Make a few changes I saw https://github.com/wojtekmaj requested in the
createthis ae9b14a
Add tip from https://github.com/ljharb to CONTRIBUTING
createthis 935c84a
Restore suspense tests to the best of my ability.
createthis 18d536f
createReactClass and React.Component pass the same check
eps1lon 69f2846
Remove unused TODO_17
eps1lon 5f2f0b1
Adjust displayname test to be invariant across React versions
eps1lon 9dfd35f
Fix displayNameOfNode for Memo components
eps1lon cc64090
Fix isEmptyRender for SimpleMemoComponent
eps1lon 762ac8c
Ensure Suspense tests are the same in 16 and 17
eps1lon cffae58
Remove React 16 logic that is no longer covered by tests
eps1lon 7f309a1
Remove no obsolete "supports*" checks when detecting Fiber tags
eps1lon 3b9b1e3
node_modules/.bin -> npx
eps1lon 103174d
Revert .gitignore changes from base branch
eps1lon 5418b9d
Remove outdated comment
eps1lon 8649c0c
Simplify semver matcher for create-react-class
eps1lon 8712dca
Merge branch 'master' into feat/support-react17-sebbie
eps1lon 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
Add tip from https://github.com/ljharb to CONTRIBUTING
- Loading branch information
commit ae9b14aa4ca611ba5e2dff92ad0d42d757cbdbaf
There are no files selected for viewing
This file contains 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
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.
hardcoding node_modules should always be avoided.