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