Skip to content

Commit f839ca7

Browse files
committed
Fix tests
1 parent ace1a19 commit f839ca7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/optionsBasic/format.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe("format", () => {
2828
it("should throw an error if format is invalid", () => {
2929
// @ts-expect-error: Let's ignore an error (check for users with vanilla js).
3030
expect(() => build({ format: "invalid" })).toThrow(
31-
"format option is invalid. Valid values are: png, jpg, webp, avif, gif, ico, svg, bmp, tiff, mp4, best"
31+
"format option is invalid. Valid values are: png, jpg, jxl, webp, avif, gif, ico, svg, bmp, tiff, mp4, pdf, best"
3232
);
3333
});
3434

tests/optionsBasic/skipProcessing.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe("skipProcessing", () => {
3737
it("should throw an error if skipProcessing contains unsupported extensions", () => {
3838
// @ts-expect-error: Let's ignore an error (check for users with vanilla js).
3939
expect(() => build({ skip_processing: ["tiff", "jpeg"] })).toThrow(
40-
"skip_processing option contains unsupported extension. Valid values are: jpg,png,webp,avif,gif,ico,svg,heic,bmp,tiff,pdf,mp4"
40+
"skip_processing option contains unsupported extension. Valid values are: jpg,jxl,png,webp,avif,gif,ico,svg,heic,bmp,tiff,pdf,mp4"
4141
);
4242
});
4343

0 commit comments

Comments
 (0)