summaryrefslogtreecommitdiff
path: root/test/es-module/test-esm-throw-undefined.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'test/es-module/test-esm-throw-undefined.mjs')
-rw-r--r--test/es-module/test-esm-throw-undefined.mjs4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/es-module/test-esm-throw-undefined.mjs b/test/es-module/test-esm-throw-undefined.mjs
index 8777281787..541127eee5 100644
--- a/test/es-module/test-esm-throw-undefined.mjs
+++ b/test/es-module/test-esm-throw-undefined.mjs
@@ -1,6 +1,5 @@
// Flags: --experimental-modules
-/* eslint-disable node-core/required-modules */
-import common from '../common/index.js';
+import '../common';
import assert from 'assert';
async function doTest() {
@@ -12,5 +11,4 @@ async function doTest() {
);
}
-common.crashOnUnhandledRejection();
doTest();