chore(deps): update dependency vitest to v2 #141
Annotations
2 errors and 8 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#L731
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:731:49
|
build (20.x)
Process completed with exit code 1.
|
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#L53
Parameter should have an immutability of at least "ReadonlyDeep" (actual: "Mutable")
|
build (20.x):
src/api/fulfillment.ts#L162
Parameter should have an immutability of at least "ReadonlyShallow" (actual: "Mutable")
|
build (20.x):
src/api/fulfillment.ts#L217
Parameter should have an immutability of at least "ReadonlyShallow" (actual: "Mutable")
|
build (20.x):
src/api/payment-key.ts#L113
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")
|