diff --git a/tests/unit/faceCli.unit.spec.ts b/tests/unit/faceCli.unit.spec.ts index bc3ec53b..9e34b8d2 100644 --- a/tests/unit/faceCli.unit.spec.ts +++ b/tests/unit/faceCli.unit.spec.ts @@ -123,22 +123,18 @@ describe('faces:index write guards (C234)', () => { expect(output(result)).toContain('S3_BUCKET') }) - it( - 'reaches the payload bootstrap with the complete target declared', - () => { - const result = run(indexScript, ['--apply'], { - FACE_INDEX_CONFIRM: '1', - TEQO_ENV: 'production', - ...withS3, - }) + it('reaches the payload bootstrap with the complete target declared', () => { + const result = run(indexScript, ['--apply'], { + FACE_INDEX_CONFIRM: '1', + TEQO_ENV: 'production', + ...withS3, + }) - // No production database here: the run must fail while connecting (or - // right after), never with one of the write guards. The spawn boots - // Payload, so the unit default (5s) is not enough on CI runners. - expect(result.status).toBe(1) - expect(output(result)).not.toContain('FACE_INDEX_CONFIRM=1') - expect(output(result)).not.toContain('TEQO_ENV=') - }, - 30_000, - ) + // No production database here: the run must fail while connecting (or + // right after), never with one of the write guards. The spawn boots + // Payload, so the unit default (5s) is not enough on CI runners. + expect(result.status).toBe(1) + expect(output(result)).not.toContain('FACE_INDEX_CONFIRM=1') + expect(output(result)).not.toContain('TEQO_ENV=') + }, 30_000) })