These are the steps that are needed in order to get the error:
- Clone the repo (no need to
yarn install
because of zero installs) - Run both tests
yarn run test-simple
andyarn run test-react
- they are setup in such a way that both files contain two tests - one should work, one should fail. When tests are run for the first time, you should get a lot of "Internal error in the corejs3 provider: unknown polyfill" warnings, but for the time being this is fine. - Clear the resolutions field in the package.json file and
yarn install
. After that there should be several updates in the cache folder:
- Run both tests again. The simple one should remain unchanged, but the react one should throw the error: