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)
In some special occasions I want to unmoun a component by calling
unmountimported fromenzyme, however I come into this bug when I callunmountwhen testing rax component, call stack as below: