Skip to content

Log a URL that throws an error #580

Log a URL that throws an error

Log a URL that throws an error #580

Triggered via pull request January 17, 2025 14:59
Status Failure
Total duration 1m 59s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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