After updating babel-plugin-rewire to 1.1.0 from 1.0.0 Mocha throws an error after executing mocha.checkLeaks(), which prevents any tests from running:
Error: global leak detected: __$$GLOBAL_REWIRE_NEXT_MODULE_ID__
Also why 1.1.0 is still not in the master branch, when it's published as latest tag on npm? It's confusing.
After updating babel-plugin-rewire to 1.1.0 from 1.0.0 Mocha throws an error after executing
mocha.checkLeaks()
, which prevents any tests from running:Error: global leak detected: __$$GLOBAL_REWIRE_NEXT_MODULE_ID__
Also why 1.1.0 is still not in the
master
branch, when it's published aslatest
tag on npm? It's confusing.