Skip to content

Commit 7212173

Browse files
committed
test: remove unnecessary --pending-deprecation flag
1 parent 308ab8a commit 7212173

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/es-module/test-esm-exports-pending-deprecations.mjs renamed to test/es-module/test-esm-exports-deprecations.mjs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --pending-deprecation
21
import{mustCall}from'../common/index.mjs';
32
importassertfrom'assert';
43

@@ -15,7 +14,4 @@ process.addListener('warning', mustCall((warning) =>{
1514
assert(warning.stack.includes(expectedWarnings[curWarning++]),warning.stack);
1615
},expectedWarnings.length));
1716

18-
(async()=>{
19-
awaitimport('./test-esm-exports.mjs');
20-
})()
21-
.catch((err)=>console.error(err));
17+
awaitimport('./test-esm-exports.mjs');

0 commit comments

Comments
(0)