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 5780af0 commit 37c6f7dCopy full SHA for 37c6f7d
lib/internal/test_runner/mock/mock.js
@@ -36,7 +36,6 @@ const {
36
fileURLToPath,
37
isURL,
38
pathToFileURL,
39
- toPathIfFileURL,
40
URL,
41
} = require('internal/url');
42
const {
@@ -210,7 +209,7 @@ class MockModuleContext {
210
209
defaultExport,
211
hasDefaultExport,
212
namedExports,
213
- caller: toPathIfFileURL(caller),
+ caller,
214
};
215
216
sharedState.mockMap.set(baseURL, config);
0 commit comments