Skip to content

Commit fcd1b62

Browse files
committed
test: fix type error in validateSizes test
1 parent 0b50105 commit fcd1b62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/unit/validateSizes.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ it("should not validate decimal", () => {
1212
expect(() => validateSizes(["2.0x"])).toThrow();
1313
expect(() => validateSizes(["0.2x"])).toThrow();
1414
expect(() => validateSizes(["20.0w"])).toThrow();
15+
// @ts-expect-error violating typing to test throw
1516
expect(() => validateSizes(["200h"])).toThrow();
1617
});

0 commit comments

Comments
 (0)