Skip to content

Feature/pagination

Feature/pagination #34

Triggered via pull request November 5, 2024 23:31
Status Failure
Total duration 35s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
src/tests/integration/components/myGallery.test.js > MyGallery.vue > fetches thumbnails for each session on mount: src/tests/integration/components/myGallery.test.js#L60
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ] Received: 1st spy call: Array [ - ObjectContaining { - "url": "http://mock-api.com/thumbnails/?observation_id=session1&size=large", + Object { + "failCallback": [Function failCallback], + "method": "GET", + "successCallback": [Function successCallback], + "url": "http://mock-api.com/thumbnails/?observation_id=session2&size=small", }, ] 2nd spy call: Array [ - ObjectContaining { - "url": "http://mock-api.com/thumbnails/?observation_id=session1&size=large", + Object { + "failCallback": [Function failCallback], + "method": "GET", + "successCallback": [Function successCallback], + "url": "http://mock-api.com/thumbnails/?observation_id=session1&size=small", }, ] Number of calls: 2 ❯ src/tests/integration/components/myGallery.test.js:60:26
test
Process completed with exit code 1.
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/