summaryrefslogtreecommitdiff
path: root/test/es-module/test-esm-specifiers-both-flags.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'test/es-module/test-esm-specifiers-both-flags.mjs')
-rw-r--r--test/es-module/test-esm-specifiers-both-flags.mjs4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/es-module/test-esm-specifiers-both-flags.mjs b/test/es-module/test-esm-specifiers-both-flags.mjs
index fc5c7fcd0e..a434684589 100644
--- a/test/es-module/test-esm-specifiers-both-flags.mjs
+++ b/test/es-module/test-esm-specifiers-both-flags.mjs
@@ -9,8 +9,6 @@ const expectedError =
const flags = '--es-module-specifier-resolution=node ' +
'--experimental-specifier-resolution=node';
-exec(`${process.execPath} ${flags}`, {
- timeout: 300
-}, mustCall((error) => {
+exec(`${process.execPath} ${flags}`, mustCall((error) => {
assert(error.message.includes(expectedError));
}));