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

TypeError: instance.unmount is not a function #2

Open
SoraYama opened this issue Oct 21, 2020 · 0 comments
Open

TypeError: instance.unmount is not a function #2

SoraYama opened this issue Oct 21, 2020 · 0 comments
Assignees

Comments

@SoraYama
Copy link

In some special occasions I want to unmoun a component by calling unmount imported from enzyme , however I come into this bug when I call unmount when testing rax component, call stack as below:

at Object.unmount (node_modules/_enzyme-adapter-rax@1.0.3@enzyme-adapter-rax/lib/Adapter.js:328:18)
at ReactWrapper.callback (node_modules/_enzyme@3.11.0@enzyme/src/ReactWrapper.js:304:7)
at ReactWrapper.<anonymous> (node_modules/_enzyme@3.11.0@enzyme/src/ReactWrapper.js:1170:12)
at ReactWrapper.unmount (node_modules/_enzyme@3.11.0@enzyme/src/ReactWrapper.js:303:5)
@SoloJiang SoloJiang self-assigned this Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants