Skip to content

chore(deps): update dependency vitest to v2 #1519

chore(deps): update dependency vitest to v2

chore(deps): update dependency vitest to v2 #1519

Triggered via pull request December 19, 2024 07:21
Status Failure
Total duration 1m 20s
Artifacts

build.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
src/api/fulfillment.test.ts > post returns {message: error} when it received an invalid input > with `webhookOnFulfillment` option > should return error if calling webhook failed > returns error: src/api/fulfillment.test.ts#L732
AssertionError: expected { type: 'return', value: Promise{…} } to deeply equal { type: 'throw', value: Error: ERROR } - Expected + Received Object { - "type": "throw", - "value": [Error: ERROR], + "type": "return", + "value": Promise {}, } ❯ src/api/fulfillment.test.ts:732:49
build (20.x)
Process completed with exit code 1.
build (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (20.x): .preview/theme/index.ts#L11
Functions must have at least one parameter
build (20.x): .preview/theme/index.ts#L14
Functions must have at least one parameter
build (20.x): .preview/theme/index.ts#L16
Functions must have at least one parameter
build (20.x): src/api/fulfillment.ts#L44
Parameter should have an immutability of at least "ReadonlyDeep" (actual: "Mutable")
build (20.x): src/api/fulfillment.ts#L153
Parameter should have an immutability of at least "ReadonlyShallow" (actual: "Mutable")
build (20.x): src/api/fulfillment.ts#L208
Parameter should have an immutability of at least "ReadonlyShallow" (actual: "Mutable")
build (20.x): src/api/payment-key.ts#L123
Parameter should have an immutability of at least "ReadonlyDeep" (actual: "Mutable")
build (20.x): src/utils/compose-passport-item.ts#L9
Parameter should have an immutability of at least "ReadonlyDeep" (actual: "Mutable")
build (20.x): src/utils/load-library.ts#L11
Parameter should have an immutability of at least "ReadonlyDeep" (actual: "Mutable")
build (20.x): src/utils/webhooks.ts#L5
Parameter should have an immutability of at least "ReadonlyDeep" (actual: "Mutable")