test(proxy): gate proxy e2e coverage in checks

This commit is contained in:
Tam Nhu Tran committed 2026-04-20 12:44:53 -04:00
1 parent 1cfed73ca5
commit 69da284104
4 files changed
+19

No files matched your search

+4
View File
@@ -22,6 +22,10 @@ function runCli(args: string[], extraEnv: Record<string, string> = {}) {
}
beforeAll(() => {
if (process.env.CCS_E2E_SKIP_BUILD === '1') {
expect(fs.existsSync(DIST_ENTRY)).toBe(true);
return;
}
const result = spawnSync(process.execPath, ['run', 'build'], {
encoding: 'utf8',
env: process.env,