Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup: tests
  • Loading branch information
guybedford committed Jul 12, 2021
commit af548b5f71f78d121bca878b2c7aae860e93ada1
1 change: 1 addition & 0 deletions test/parallel/test-bootstrap-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const expectedModules = new Set([
'NativeModule internal/console/constructor',
'NativeModule internal/console/global',
'NativeModule internal/constants',
'NativeModule internal/deps/acorn/acorn/dist/acorn',
'NativeModule internal/encoding',
'NativeModule internal/errors',
'NativeModule internal/event_target',
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-require-mjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const assert = require('assert');
assert.throws(
() => require('../fixtures/es-modules/test-esm-ok.mjs'),
{
message: /Must use import to load ES Module/,
message: /dynamic import\(\) which is available in all CommonJS modules/,
code: 'ERR_REQUIRE_ESM'
}
);