We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc7671f commit 8bb386aCopy full SHA for 8bb386a
lib/test-worker.js
@@ -28,7 +28,7 @@ globals.options = opts;
28
const serializeError = require('./serialize-error');
29
30
(opts.require || []).forEach(x => {
31
- if (/.*std[\/\\]esm[\/\\]index\.js$/.test(x)) {
+ if (/.*std[/\\]esm[/\\]index\.js$/.test(x)) {
32
require = require(x)(module); // eslint-disable-line no-global-assign
33
} else {
34
require(x);
0 commit comments