Alpha Release 0.5.0 #153

Merged
niggl merged 30 commits from dev into main 2021-03-04 16:22:40 +00:00
Showing only changes of commit 82c65b632c - Show all commits

View File

@ -40,4 +40,9 @@ describe('register + get 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 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");
});
}); });