Veniamin Krol
Veniamin Krol
`mount` returns `ReactWrapper`. Here is the source code of `ReactWrapper` `simulate`: https://github.com/airbnb/enzyme/blob/master/packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js#L345 `shallow` returns `ShallowWrapper`. Here is the source code of `ShallowWrapper` `simulate`: https://github.com/airbnb/enzyme/blob/master/packages/enzyme-adapter-react-16.3/src/ReactSixteenThreeAdapter.js#L448
I don't want to bother you, but I can do the PR with a correction.
We are trying to update to 21.2.0 from 20.0.4 and now we have the following error on our build servers: ``` Test suite failed to run [13:46:50] [13:46:50] jest: failed...
If I run the tests with the --runInBand flag then as expected everything is OK.
This problem is very similar to https://github.com/npm/write-file-atomic/issues/10 and https://github.com/npm/write-file-atomic/pull/22.
@jeddy3 `status: wip` is most likely confusing because I was only writing the test, but I am not fixing this bug at the moment.
@TrySound ~~It's not about webpack, it's about Chrome:~~ > ~~- We report more errors than previously, which is a WONTFIX.~~ ~~https://bugs.chromium.org/p/chromium/issues/detail?id=1052872#c14~~ UPD: I am not sure about it.
@furqanZafar I think that we don't need react-addons-css-transition-group and react-addons-shallow-compare in dependencies anymore?
> But at the same time, the cache should be garbage collected with WeakMap, this is might be unexpected behavior from the js engine. After further investigation, I came to...
Also it was discussed in #proposals channel in Discord.