Skip to content

Commit

Permalink
test: remove unnecessary --pending-deprecation flag
Browse files Browse the repository at this point in the history
PR-URL: #38819
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
aduh95 authored and danielleadams committed Jun 2, 2021
1 parent e119531 commit 48ebebd
Showing 1 changed file with 1 addition and 5 deletions.
@@ -1,4 +1,3 @@
// Flags: --pending-deprecation
import { mustCall } from '../common/index.mjs';
import assert from 'assert';

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

(async () => {
await import('./test-esm-exports.mjs');
})()
.catch((err) => console.error(err));
await import('./test-esm-exports.mjs');

0 comments on commit 48ebebd

Please sign in to comment.