parent
324d5709e3
commit
09b37f0ff2
@ -22,7 +22,7 @@ describe('GET /api/scans sucessfully', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
// ---------------
|
// ---------------
|
||||||
describe('GET /api/tracks illegally', () => {
|
describe('GET /api/scans illegally', () => {
|
||||||
it('get for non-existant track should return 404', async () => {
|
it('get for non-existant track should return 404', async () => {
|
||||||
const res = await axios.get(base + '/api/scans/-1', axios_config);
|
const res = await axios.get(base + '/api/scans/-1', axios_config);
|
||||||
expect(res.status).toEqual(404);
|
expect(res.status).toEqual(404);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user