mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
test_runner: remove outdated comment
Network imports were removed, so remove the comment. Refs: https://github.com/nodejs/node/pull/53822 PR-URL: https://github.com/nodejs/node/pull/54146 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
This commit is contained in:
parent
e6ee6e2901
commit
ca2ed88f94
|
|
@ -36,13 +36,6 @@ const { createRequire, isBuiltin } = require('module');
|
|||
// https://github.com/nodejs/node/issues/49472
|
||||
// or https://github.com/nodejs/node/issues/52219
|
||||
|
||||
// TODO(cjihrig): Network imports should be supported. There are two current
|
||||
// hurdles:
|
||||
// - The module format returned by the load() hook is not known. This could be
|
||||
// implemented as an option, or default to 'module' for network imports.
|
||||
// - The generated mock module imports 'node:test', which is not allowed by
|
||||
// checkIfDisallowedImport() in the ESM code.
|
||||
|
||||
const mocks = new SafeMap();
|
||||
|
||||
async function initialize(data) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user