MCPcopy Index your code
hub / github.com/nodejs/node / test-require-module-tla-retry-import-2.js

File test-require-module-tla-retry-import-2.js

test/es-module/test-require-module-tla-retry-import-2.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// This tests that after loading a ESM with import() and then retrying
2// with require(), it errors as expected, and produces consistent results.
3'use strict';
4const common = require('../common');

Callers

nothing calls this directly

Calls 3

testFunction · 0.70
requireFunction · 0.50
thenMethod · 0.45

Tested by

no test coverage detected