ref #190
This commit is contained in:
parent
4603a84f16
commit
1d8c8c8e9c
@ -52,7 +52,6 @@ describe('GET /api/stats/runners/* should return 200', () => {
|
|||||||
});
|
});
|
||||||
it('get by donations w/ auth should return 200', async () => {
|
it('get by donations w/ auth should return 200', async () => {
|
||||||
const res = await axios.get(base + '/api/stats/runners/donations', axios_config_stats);
|
const res = await axios.get(base + '/api/stats/runners/donations', axios_config_stats);
|
||||||
console.log(res.data)
|
|
||||||
expect(res.status).toEqual(200);
|
expect(res.status).toEqual(200);
|
||||||
expect(res.headers['content-type']).toContain("application/json");
|
expect(res.headers['content-type']).toContain("application/json");
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user