Skip to content

test: change search test query #50

test: change search test query

test: change search test query #50

Triggered via push March 30, 2024 18:48
Status Failure
Total duration 28s
Artifacts

ci.yaml

on: push
Test and Deploy to Staging
20s
Test and Deploy to Staging
Fit to window
Zoom out
Zoom in

Annotations

2 errors
src/modules/search/controllers/search.controller.spec.ts > SearchController > search everything: src/modules/search/controllers/search.controller.spec.ts#L28
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_type",\n…' was thrown - Expected: undefined + Received: "[ { \"code\": \"invalid_type\", \"expected\": \"string\", \"received\": \"undefined\", \"path\": [ \"topQuery\", \"results\", 0, \"album\" ], \"message\": \"Required\" }, { \"code\": \"invalid_type\", \"expected\": \"string\", \"received\": \"undefined\", \"path\": [ \"topQuery\", \"results\", 0, \"url\" ], \"message\": \"Required\" }, { \"code\": \"invalid_type\", \"expected\": \"string\", \"received\": \"undefined\", \"path\": [ \"topQuery\", \"results\", 0, \"primaryArtists\" ], \"message\": \"Required\" }, { \"code\": \"invalid_type\", \"expected\": \"string\", \"received\": \"undefined\", \"path\": [ \"topQuery\", \"results\", 0, \"singers\" ], \"message\": \"Required\" }, { \"code\": \"invalid_type\", \"expected\": \"string\", \"received\": \"undefined\", \"path\": [ \"topQuery\", \"results\", 0, \"language\" ], \"message\": \"Required\" } ]" ❯ src/modules/search/controllers/search.controller.spec.ts:28:47
Test and Deploy to Staging
Process completed with exit code 1.