Skip to content
This repository was archived by the owner on Apr 16, 2020. It is now read-only.

Commit bd5c877

Browse files
MylesBorinsnodejs-ci
authored andcommitted
fixup: fix broken tests
1 parent 0499f01 commit bd5c877

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

doc/api/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ greater than `4` (its current default value). For more information, see the
911911
[debugger]: debugger.html
912912
[debugging security implications]: https://nodejs.org/en/docs/guides/debugging-getting-started/#security-implications
913913
[emit_warning]: process.html#process_process_emitwarning_warning_type_code_ctor
914-
[experimental ECMAScript Module]: esm.html#esm_loader_hooks
914+
[experimental ECMAScript Module]: esm.html#esm_experimental_loader_hooks
915915
[libuv threadpool documentation]: http://docs.libuv.org/en/latest/threadpool.html
916916
[remote code execution]: https://www.owasp.org/index.php/Code_Injection
917917
[secureProtocol]: tls.html#tls_tls_createsecurecontext_options

test/message/esm_display_syntax_error.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
file:///*/test/message/esm_display_syntax_error.mjs:3
33
await async () => 0;
44
^^^^^
5+
56
SyntaxError: Unexpected reserved word
67
at Loader.<anonymous> (internal/modules/esm/translators.js:*:*)

test/message/esm_display_syntax_error_module.out

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
file:///*/test/fixtures/es-module-loaders/syntax-error.mjs:2
33
await async () => 0;
44
^^^^^
5+
56
SyntaxError: Unexpected reserved word
6-
at translators.set (internal/modules/esm/translators.js:*:*)
7+
at Loader.<anonymous> (internal/modules/esm/translators.js:*:*)

test/parallel/test-loaders-unknown-builtin-module.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Flags: --experimental-modules --loader ./test/fixtures/es-module-loaders/loader-unknown-builtin-module.mjs
2-
import { expectsError, mustCall } from '../common';
2+
/* eslint-disable node-core/required-modules */
3+
import { expectsError, mustCall } from '../common/index.mjs';
34
import assert from 'assert';
45

56
const unknownBuiltinModule = 'unknown-builtin-module';

0 commit comments

Comments
 (0)