mirror of
https://github.com/nodejs/node.git
synced 2025-12-28 07:50:41 +00:00
test_runner: remove unused callee convertion
PR-URL: https://github.com/nodejs/node/pull/59221 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
This commit is contained in:
parent
5335c101a9
commit
f904fa77f8
@ -36,7 +36,6 @@ const {
|
||||
fileURLToPath,
|
||||
isURL,
|
||||
pathToFileURL,
|
||||
toPathIfFileURL,
|
||||
URL,
|
||||
} = require('internal/url');
|
||||
const {
|
||||
@ -210,7 +209,7 @@ class MockModuleContext {
|
||||
defaultExport,
|
||||
hasDefaultExport,
|
||||
namedExports,
|
||||
caller: toPathIfFileURL(caller),
|
||||
caller,
|
||||
};
|
||||
|
||||
sharedState.mockMap.set(baseURL, config);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user