We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2657ecb commit 509efebCopy full SHA for 509efeb
lib/internal/test_runner/harness.js
@@ -7,6 +7,7 @@ const {
7
PromiseWithResolvers,
8
SafeMap,
9
SafePromiseAllReturnVoid,
10
+ globalThis: { DisposableStack },
11
} = primordials;
12
13
const { getCallerLocation } = internalBinding('util');
@@ -232,7 +233,7 @@ function setupProcessState(root, globalOptions) {
232
233
createProcessEventHandler('unhandledRejection', root);
234
const coverage = configureCoverage(root, globalOptions);
235
- const disposableStack = new DisposableStack(); // eslint-disable-line no-undef
236
+ const disposableStack = new DisposableStack();
237
238
const exitHandler = async (kill) => {
239
if (root.subtests.length === 0 && (root.hooks.before.length > 0 || root.hooks.after.length > 0)) {
0 commit comments