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

Try improving the TesterConfig initialization #1

Open
kbouchard opened this issue Dec 13, 2018 · 0 comments
Open

Try improving the TesterConfig initialization #1

kbouchard opened this issue Dec 13, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kbouchard
Copy link
Contributor

kbouchard commented Dec 13, 2018

Right now, when we configure Tester for a project, we must pass the enzyme package otherwise, we end up using 2 enzyme version and it throws errors and create mismatches.

We should contact Enzyme directly to:

  • Ask wether there is a better way of doing this.
    ** If there is, improve.
    ** If not, make that requirement prominent in the docs.

Configuration example

import enzyme from 'enzyme';

// Adapt enzyme to the proper React version.

TesterConfig.configure(enzyme, { ... });
@kbouchard kbouchard added the enhancement New feature or request label Dec 13, 2018
@kbouchard kbouchard self-assigned this Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant