Skip to content

Commit cab62ec

Browse files
committed
smoketests: fix node tests on windows
1 parent 8e7fba1 commit cab62ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

smoketests/tests/jest/node/tests.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { asyncSpawn } from '../../__helpers/asyncSpawn.js';
1+
import { npm } from '../../__helpers/npm.js';
22
import { RXID_REGEX } from '../../__helpers/rxid.js';
33
import { DIRECT_SUBMIT_URL, SUBMIT_LAYER_URL } from '../../__helpers/urls.js';
44

55
async function spawnNodeApp(cwd: string, url: string | URL) {
6-
return asyncSpawn('npm', ['run', 'start', url.toString()], { cwd, timeout: 10000 });
6+
return npm(cwd, ['run', 'start', url.toString()], { timeout: 10000 });
77
}
88

99
function getRxid(stdout: string) {

0 commit comments

Comments
 (0)