This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch back to using the official enzyme distro
Now that it supports React.Context
- Loading branch information
Dom Harrington
committed
Aug 29, 2018
1 parent
862a3df
commit 22a6f52
Showing
4 changed files
with
33 additions
and
39 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
/* eslint-disable import/no-extraneous-dependencies */ | ||
// TODO switch this back once https://github.com/airbnb/enzyme/issues/1509 is merged | ||
const Adapter = require('enzyme-react-adapter-future'); | ||
const Adapter = require('enzyme-adapter-react-16'); | ||
const enzyme = require('enzyme'); | ||
|
||
enzyme.configure({ adapter: new Adapter() }); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.