Added scans returns 200 test
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
ref #151
This commit is contained in:
parent
ae7d617690
commit
82c65b632c
|
@ -40,4 +40,9 @@ describe('register + get should return 200', () => {
|
|||
expect(res.status).toEqual(200);
|
||||
expect(res.headers['content-type']).toContain("application/json");
|
||||
});
|
||||
it('get scans with valid jwt should return 200', async () => {
|
||||
const res = await axios.get(base + '/api/runners/me/' + added_runner.token + "/scans", axios_config);
|
||||
expect(res.status).toEqual(200);
|
||||
expect(res.headers['content-type']).toContain("application/json");
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue