Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 0 additions & 64 deletions test/parallel/test-without-async-context-frame.mjs

This file was deleted.

24 changes: 24 additions & 0 deletions test/sequential/test-without-async-context-frame.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { isWindows } from '../common/index.mjs';
import { spawn } from 'node:child_process';
import { once } from 'node:events';
import { fileURLToPath } from 'node:url';
import { strictEqual } from 'node:assert';

const python = process.env.PYTHON || (isWindows ? 'python' : 'python3');

const testRunner = fileURLToPath(
new URL('../../tools/test.py', import.meta.url)
);

const proc = spawn(python, [
testRunner,
`--mode=${process.features.debug ? 'debug' : 'release'}`,
`--shell=${process.execPath}`,
'--node-args=--no-async-context-frame',
'*/test-async-local-storage-*',
], {
stdio: ['inherit', 'inherit', 'inherit'],
});

const [code] = await once(proc, 'exit');
strictEqual(code, 0);
Loading