Skip to content

Commit e48eb34

Browse files
committed
Hard-stop CLI E2E when prerequisites missing
1 parent e4058e0 commit e48eb34

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cli/src/__tests__/e2e/full-stack.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ if (!sdkBuilt || !dockerAvailable) {
4747
describe.skip(`E2E skipped: ${reason}`, () => {
4848
test('skipped', () => {})
4949
})
50+
// Prevent the rest of the suite from registering
51+
// eslint-disable-next-line no-process-exit
52+
throw new Error(`Skipping CLI E2E: ${reason}`)
5053
}
5154

5255
describe('E2E: Chat Interaction', () => {

0 commit comments

Comments
 (0)