Closed kirbysayshi closed 3 years ago
Ran into an issue with a tape-like pattern:
$ browserify-like-bundler tests/index.js | node
This package was detecting if the window object was present before my jsdom shim could execute (and therefore expose window/document globals). I deferred the execution of the detection until the first call to compensate.
Ran into an issue with a tape-like pattern:
This package was detecting if the window object was present before my jsdom shim could execute (and therefore expose window/document globals). I deferred the execution of the detection until the first call to compensate.