Skip to content

Commit 3acc916

Browse files
committed
test: fix async-context-frame tests with --shell
Forward execPath as test.py --shell so subprocess tests run with the same executable as the parent test. Otherwise tests are broken if out/Debug/node doesn't exist or is a different executble than the caller intended.
1 parent 8a3482e commit 3acc916

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/parallel/test-async-context-frame.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ describe('AsyncContextFrame', {
4949
it(test, async () => {
5050
const proc = spawn(python, [
5151
testRunner,
52+
'--shell', process.execPath,
5253
'--node-args=--experimental-async-context-frame',
5354
test,
5455
], {

0 commit comments

Comments
 (0)