Feat/e2e #6
test.yml
on: pull_request
test-frontend
40s
test-e2e
56s
Matrix: test-backend
Annotations
6 errors
test-e2e
The process '/usr/local/bin/npm' failed with exit code 2
|
tests/integration/camp.test.ts > /api/v1/camps > POST /api/v1/camps > reference id > should replace file URLs in the form:
backend/tests/integration/camp.test.ts#L652
AssertionError: expected { …(2) } to strictly equal { …(2) }
- Expected
+ Received
Object {
"logo": Object {
- "default": "http://localhost:9000/files/01JHPB7XB8TV8VB9GERWD40M5W",
+ "default": "http://localhost:9000/files/01JHPB7X9R62Y5W9Z9NVRGZVTW",
},
"questions": Array [
Object {
- "title": "This is [markdown](http://localhost:9000/files/01JHPB7XB8TV8VB9GERWD40M5X)",
+ "title": "This is [markdown](http://localhost:9000/files/01JHPB7X9RM1PYMGAESS1P2D6A)",
},
Object {
- "title": "And another [markdown](http://localhost:9000/files/01JHPB7XB8TV8VB9GERWD40M5X) link",
+ "title": "And another [markdown](http://localhost:9000/files/01JHPB7X9RM1PYMGAESS1P2D6A) link",
},
Object {
- "title": "Url with [query](http://localhost:9000/files/01JHPB7XB8TV8VB9GERWD40M5X?test=yes)",
+ "title": "Url with [query](http://localhost:9000/files/01JHPB7X9RM1PYMGAESS1P2D6A?test=yes)",
},
Object {
"title": "External [link](https://test.net) link",
},
],
}
❯ tests/integration/camp.test.ts:652:32
|
test-backend (22)
Process completed with exit code 1.
|
test-backend (20)
The job was canceled because "_22" failed.
|
tests/integration/camp.test.ts > /api/v1/camps > POST /api/v1/camps > reference id > should replace file URLs in the form:
backend/tests/integration/camp.test.ts#L652
AssertionError: expected { …(2) } to strictly equal { …(2) }
- Expected
+ Received
Object {
"logo": Object {
- "default": "http://localhost:9000/files/01JHPB82SF2VY0WY4PFWV3W910",
+ "default": "http://localhost:9000/files/01JHPB82R4E084X3XTB6P3H2BY",
},
"questions": Array [
Object {
- "title": "This is [markdown](http://localhost:9000/files/01JHPB82SF2VY0WY4PFWV3W90Z)",
+ "title": "This is [markdown](http://localhost:9000/files/01JHPB82R47B8CTVGFBZ0NC09H)",
},
Object {
- "title": "And another [markdown](http://localhost:9000/files/01JHPB82SF2VY0WY4PFWV3W90Z) link",
+ "title": "And another [markdown](http://localhost:9000/files/01JHPB82R47B8CTVGFBZ0NC09H) link",
},
Object {
- "title": "Url with [query](http://localhost:9000/files/01JHPB82SF2VY0WY4PFWV3W90Z?test=yes)",
+ "title": "Url with [query](http://localhost:9000/files/01JHPB82R47B8CTVGFBZ0NC09H?test=yes)",
},
Object {
"title": "External [link](https://test.net) link",
},
],
}
❯ tests/integration/camp.test.ts:652:32
|
test-backend (20)
The operation was canceled.
|