Skip to content

Commit 509efeb

Browse files
Apply suggestions from code review
Co-authored-by: Livia Medeiros <[email protected]>
1 parent 2657ecb commit 509efeb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/test_runner/harness.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const {
77
PromiseWithResolvers,
88
SafeMap,
99
SafePromiseAllReturnVoid,
10+
globalThis: { DisposableStack },
1011
} = primordials;
1112

1213
const { getCallerLocation } = internalBinding('util');
@@ -232,7 +233,7 @@ function setupProcessState(root, globalOptions) {
232233
createProcessEventHandler('unhandledRejection', root);
233234
const coverage = configureCoverage(root, globalOptions);
234235

235-
const disposableStack = new DisposableStack(); // eslint-disable-line no-undef
236+
const disposableStack = new DisposableStack();
236237

237238
const exitHandler = async (kill) => {
238239
if (root.subtests.length === 0 && (root.hooks.before.length > 0 || root.hooks.after.length > 0)) {

0 commit comments

Comments
 (0)