1 parent
324d5709e3
commit
09b37f0ff2
1 file changed
+1
-1
@@ -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 () => {
|
||||
const res = await axios.get(base + '/api/scans/-1', axios_config);
|
||||
expect(res.status).toEqual(404);
|
||||
|
||||
Reference in new issue
Block a user