chore(deps): update dependency vitest to v4 #6951
Triggered via pull request
September 20, 2025 06:04
Status
Failure
Total duration
1m 33s
Artifacts
–
Annotations
2 errors and 10 warnings
|
build (20.x)
Process completed with exit code 1.
|
|
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#L738
AssertionError: expected { type: 'return', value: Promise{…} } to deeply equal { type: 'throw', value: Error: ERROR }
- Expected
+ Received
{
- "type": "throw",
- "value": Error {
- "message": "ERROR",
- },
+ "type": "return",
+ "value": Promise {},
}
❯ src/api/fulfillment.test.ts:738:49
|
|
build (20.x):
src/api/payment-key.ts#L126
Parameter should have an immutability of at least "ReadonlyShallow" (actual: "Mutable")
|
|
build (20.x):
src/api/payment-cart-key.ts#L21
Parameter should have an immutability of at least "ReadonlyDeep" (actual: "Mutable")
|
|
build (20.x):
src/api/get-cart.ts#L14
Parameter should have an immutability of at least "ReadonlyDeep" (actual: "Mutable")
|
|
build (20.x):
src/api/fulfillment.ts#L221
Parameter should have an immutability of at least "ReadonlyShallow" (actual: "Mutable")
|
|
build (20.x):
src/api/fulfillment.ts#L157
Parameter should have an immutability of at least "ReadonlyShallow" (actual: "Mutable")
|
|
build (20.x):
src/api/fulfillment.ts#L135
Parameter should have an immutability of at least "ReadonlyShallow" (actual: "Mutable")
|
|
build (20.x):
src/api/add-cart.ts#L18
Parameter should have an immutability of at least "ReadonlyDeep" (actual: "Mutable")
|
|
build (20.x):
.preview/theme/index.ts#L16
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#L11
Functions must have at least one parameter
|