Added temp console log for test
continuous-integration/drone/pr Build is failing Details

ref #190
This commit is contained in:
Nicolai Ort 2021-04-06 09:29:23 +02:00
parent 0b07a53ed2
commit 22cae39bd3
1 changed files with 6 additions and 5 deletions

View File

@ -50,11 +50,12 @@ describe('GET /api/stats/runners/* should return 200', () => {
expect(res.status).toEqual(200);
expect(res.headers['content-type']).toContain("application/json");
});
// it('get by donations w/ auth should return 200', async () => {
// const res = await axios.get(base + '/api/stats/runners/donations', axios_config_stats);
// expect(res.status).toEqual(200);
// expect(res.headers['content-type']).toContain("application/json");
// });
it('get by donations w/ auth should return 200', async () => {
const res = await axios.get(base + '/api/stats/runners/donations', axios_config_stats);
console.log(res.data)
expect(res.status).toEqual(200);
expect(res.headers['content-type']).toContain("application/json");
});
it('get by laptime w/ auth should return 200', async () => {
const res = await axios.get(base + '/api/stats/runners/laptime', axios_config_stats);
expect(res.status).toEqual(200);