Skip to content

Commit 713c70c

Browse files
himself65targos
authored andcommitted
test_runner: remove unused callee convertion
PR-URL: #59221 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Pietro Marchini <[email protected]> Reviewed-By: Chemi Atlow <[email protected]>
1 parent aeb4de5 commit 713c70c

File tree

1 file changed

+1
-2
lines changed
  • lib/internal/test_runner/mock

1 file changed

+1
-2
lines changed

lib/internal/test_runner/mock/mock.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ const {
3636
fileURLToPath,
3737
isURL,
3838
pathToFileURL,
39-
toPathIfFileURL,
4039
URL,
4140
} = require('internal/url');
4241
const {
@@ -210,7 +209,7 @@ class MockModuleContext {
210209
defaultExport,
211210
hasDefaultExport,
212211
namedExports,
213-
caller: toPathIfFileURL(caller),
212+
caller,
214213
};
215214

216215
sharedState.mockMap.set(baseURL, config);

0 commit comments

Comments
 (0)