parent
49ac7be367
commit
e223c060d4
@ -51,7 +51,7 @@ describe('GET /api/runners after adding', () => {
|
|||||||
const res4 = await axios.get(base + '/api/runners/', { validateStatus: undefined });
|
const res4 = await axios.get(base + '/api/runners/', { validateStatus: undefined });
|
||||||
expect(res4.status).toEqual(200);
|
expect(res4.status).toEqual(200);
|
||||||
expect(res4.headers['content-type']).toContain("application/json")
|
expect(res4.headers['content-type']).toContain("application/json")
|
||||||
let gotten_runner2 = res4.data[res4.data.length - 1]
|
let gotten_runners = res4.data
|
||||||
expect(gotten_runner2).toEqual(added_runner);
|
expect(gotten_runners).toContainEqual(added_runner);
|
||||||
});
|
});
|
||||||
});
|
});
|
Loading…
x
Reference in New Issue
Block a user