diff --git a/playground/ssr-network-imports/__tests__/basic.spec.ts b/playground/ssr-network-imports/__tests__/basic.spec.ts index 6ae8a090cc2112..9d6e115f730c7a 100644 --- a/playground/ssr-network-imports/__tests__/basic.spec.ts +++ b/playground/ssr-network-imports/__tests__/basic.spec.ts @@ -6,7 +6,7 @@ import { isServe } from '~utils' const execFileAsync = promisify(execFile) test.runIf(isServe)('basic', async () => { - await execFileAsync('node', ['--experimental-network-imports', 'test.js'], { + await execFileAsync('pnpm', ['test'], { cwd: new URL('..', import.meta.url), }) })