Release 0.10.2 #192

Merged
niggl merged 41 commits from dev into main 2021-04-07 17:27:49 +00:00
Showing only changes of commit 0b07a53ed2 - Show all commits

View File

@ -50,11 +50,11 @@ describe('GET /api/stats/runners/* should return 200', () => {
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");
}); });
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);
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");
}); // });
it('get by laptime w/ auth should return 200', async () => { it('get by laptime w/ auth should return 200', async () => {
const res = await axios.get(base + '/api/stats/runners/laptime', axios_config_stats); const res = await axios.get(base + '/api/stats/runners/laptime', axios_config_stats);
expect(res.status).toEqual(200); expect(res.status).toEqual(200);