CI gate verification (do not merge) #97

Closed
fable-5 wants to merge 1 commits from ci-gate-verification into main

View File

@ -5,7 +5,7 @@ import { healthResponse } from './health';
describe('healthResponse', () => { describe('healthResponse', () => {
it('reports ok with service, version, and a valid timestamp', () => { it('reports ok with service, version, and a valid timestamp', () => {
const res = healthResponse('api', '1.2.3'); const res = healthResponse('api', '1.2.3');
expect(res.status).toBe('ok'); expect(res.status).toBe('broken-on-purpose');
expect(res.service).toBe('api'); expect(res.service).toBe('api');
expect(res.version).toBe('1.2.3'); expect(res.version).toBe('1.2.3');
expect(Number.isNaN(Date.parse(res.time))).toBe(false); expect(Number.isNaN(Date.parse(res.time))).toBe(false);