feature/205-pagination #206

Merged
niggl merged 16 commits from feature/205-pagination into dev 2023-04-18 18:03:21 +00:00
Showing only changes of commit 2f305e127c - Show all commits

View File

@ -66,6 +66,8 @@ describe('adding + getting scans', () => {
const res = await axios.get(base + '/api/scans/' + added_scan.id, axios_config);
expect(res.status).toEqual(200);
expect(res.headers['content-type']).toContain("application/json");
delete res.data.runner.distance;
delete added_scan.runner.distance;
expect(res.data).toEqual(added_scan);
});
it('check if scans was added via the runner/scans endpoint.', async () => {