aboutsummaryrefslogtreecommitdiff
path: root/test/bundler/integration/react
diff options
context:
space:
mode:
Diffstat (limited to 'test/bundler/integration/react')
-rw-r--r--test/bundler/integration/react/react-ssr.test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bundler/integration/react/react-ssr.test.ts b/test/bundler/integration/react/react-ssr.test.ts
index 9b4d49e19..e5b6c0b9e 100644
--- a/test/bundler/integration/react/react-ssr.test.ts
+++ b/test/bundler/integration/react/react-ssr.test.ts
@@ -34,8 +34,8 @@ describe("bundler integration, react SSR", () => {
env: nodeEnv ? { NODE_ENV: nodeEnv } : undefined,
},
);
- const proc = Bun.spawnSync(["bun", path.join(out, "ssr-print.js")], {
- cwd: path.join(import.meta.dir, "react"),
+ const proc = Bun.spawnSync([bunExe(), path.join(out, "ssr-print.js")], {
+ cwd: path.join(import.meta.dir),
});
if (!proc.success) {
console.error(proc.stderr.toString());