Skip to content

Commit f884838

Browse files
Add test case for validating v2.19.3-beta.12
1 parent 22ca98f commit f884838

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/version/validate.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ describe("validateVersion", () => {
2727
expect(() => validateVersion("2.19.0-beta.01")).not.toThrow();
2828
});
2929

30+
it('should not throw for valid beta "2.19.3-beta.12"', () => {
31+
expect(() => validateVersion("2.19.3-beta.12")).not.toThrow();
32+
});
33+
3034
it('should not throw for coerced version "v2.19.0"', () => {
3135
expect(() => validateVersion("v2.19.0")).not.toThrow();
3236
});

0 commit comments

Comments
 (0)