parent
f378b0651a
commit
b6ea5e6549
|
@ -52,7 +52,7 @@ describe('POST /api/tracks successfully', () => {
|
|||
expect(res.headers['content-type']).toContain("application/json");
|
||||
delete res.data.id;
|
||||
expect(res.data).toEqual({
|
||||
"name": "string",
|
||||
"name": "testtrack",
|
||||
"distance": 200,
|
||||
"minimumLapTime": null
|
||||
})
|
||||
|
@ -67,7 +67,7 @@ describe('POST /api/tracks successfully', () => {
|
|||
expect(res.headers['content-type']).toContain("application/json");
|
||||
delete res.data.id;
|
||||
expect(res.data).toEqual({
|
||||
"name": "string",
|
||||
"name": "testtrack",
|
||||
"distance": 200,
|
||||
"minimumLapTime": null
|
||||
})
|
||||
|
@ -82,7 +82,7 @@ describe('POST /api/tracks successfully', () => {
|
|||
expect(res.headers['content-type']).toContain("application/json");
|
||||
delete res.data.id;
|
||||
expect(res.data).toEqual({
|
||||
"name": "string",
|
||||
"name": "testtrack",
|
||||
"distance": 200,
|
||||
"minimumLapTime": 123
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue