CI gate verification (do not merge) #97
@ -5,7 +5,7 @@ import { healthResponse } from './health';
|
||||
describe('healthResponse', () => {
|
||||
it('reports ok with service, version, and a valid timestamp', () => {
|
||||
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.version).toBe('1.2.3');
|
||||
expect(Number.isNaN(Date.parse(res.time))).toBe(false);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user