Skip to content

Commit 2f6efab

Browse files
committed
chore(e2e): disable CLI forwarding in e2e-tests
Set SOCKET_CLI_FORWARDING=0 to disable forwarding during e2e tests. This ensures tests run against the local CLI directly without forwarding to production binaries.
1 parent fa5c0f6 commit 2f6efab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"prepare": "dotenvx -q run -f .env.local -- husky",
5656
"bs": "dotenvx -q run -f .env.local -- pnpm run build; pnpm exec socket --",
5757
"s": "dotenvx -q run -f .env.local -- pnpm exec socket --",
58-
"e2e-tests": "dotenvx -q run -f .env.test -- vitest run --config vitest.e2e.config.mts",
58+
"e2e-tests": "SOCKET_CLI_FORWARDING=0 dotenvx -q run -f .env.test -- vitest run --config vitest.e2e.config.mts",
5959
"e2e:js": "node scripts/e2e.mjs --js",
6060
"e2e:smol": "node scripts/e2e.mjs --smol",
6161
"e2e:sea": "node scripts/e2e.mjs --sea",

0 commit comments

Comments
 (0)