Log a URL that throws an error #580
test.yml
on: pull_request
unit-test
1m 49s
check
1m 23s
Annotations
2 errors and 2 warnings
src/lib/api/tests/documents.test.ts > document fetching > documents.get:
src/lib/api/tests/documents.test.ts#L118
AssertionError: expected "spy" to be called with arguments: [ URL{ …(1) }, …(1) ]
Received:
1st spy call:
Array [
- "https://api.dev.documentcloud.org/api/documents/2622.json?expand=user%2Corganization%2Cprojects%2Crevisions%2Csections%2Cnotes.user",
+ "https://api.dev.documentcloud.org/api/documents/2622/?expand=user%2Corganization%2Cprojects%2Crevisions%2Csections%2Cnotes.user",
Object {
"credentials": "include",
},
]
Number of calls: 1
❯ src/lib/api/tests/documents.test.ts:118:23
|
unit-test
Process completed with exit code 1.
|
check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
unit-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|