Skip to content

CI/CD (push on fetch-errors) #77

CI/CD (push on fetch-errors)

CI/CD (push on fetch-errors) #77

Triggered via push September 23, 2024 23:38
Status Failure
Total duration 31s
Artifacts

cicd.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors
src/features/search/bestseller/bestseller.spec.ts > Bestseller API > fetch call with correct URL: src/shared/typed-fetch.ts#L6
Error: HTTP error! status: 500 ❯ Module.typedFetch src/shared/typed-fetch.ts:6:3 ❯ Module.mockRequest src/shared/mock-request.mock.ts:16:18 ❯ src/features/search/bestseller/bestseller.spec.ts:24:5
src/features/search/bestseller/bestseller.spec.ts > Bestseller API > checks that config and searchOptions are added to the searchParams in the request URL: src/shared/typed-fetch.ts#L6
Error: HTTP error! status: 500 ❯ Module.typedFetch src/shared/typed-fetch.ts:6:3 ❯ Module.mockRequest src/shared/mock-request.mock.ts:16:18 ❯ src/features/search/bestseller/bestseller.spec.ts:43:5
src/features/search/bestseller/bestseller.spec.ts > Bestseller API > uses default searchEndpoint when not provided: src/features/search/bestseller/bestseller.spec.ts#L84
AssertionError: promise rejected "Error: HTTP error! status: 500" instead of resolving ❯ src/features/search/bestseller/bestseller.spec.ts:84:5 Caused by: Error: HTTP error! status: 500 ❯ Module.typedFetch src/shared/typed-fetch.ts:6:3 ❯ Module.mockRequest src/shared/mock-request.mock.ts:16:18 ❯ src/features/search/bestseller/bestseller.spec.ts:74:5
build
Process completed with exit code 1.