Sessions 5-7a: 955 tests, deployment ready
This commit is contained in:
@@ -205,7 +205,7 @@ describe('GET /api/odds/nba', () => {
|
||||
const res = await request(app).get('/api/odds/nba').expect(200);
|
||||
|
||||
expect(res.body.source).toBe('cache');
|
||||
expect(res.headers['x-betonblk-stale']).toBe('true');
|
||||
expect(res.headers['x-vyndr-stale']).toBe('true');
|
||||
});
|
||||
|
||||
it('returns 503 when API fails and no cache', async () => {
|
||||
|
||||
Reference in New Issue
Block a user