This commit is contained in:
TypeScript Bot
2023-02-27 21:44:07 +00:00
parent 8fb472ba1c
commit f47cb222f5

View File

@@ -169,7 +169,18 @@ describe("isTypeScriptVersion", () => {
describe("range", () => {
it("works", () => {
expect(TypeScriptVersion.range("4.2")).toEqual(["4.2", "4.3", "4.4", "4.5", "4.6", "4.7", "4.8", "4.9", "5.0", "5.1"]);
expect(TypeScriptVersion.range("4.2")).toEqual([
"4.2",
"4.3",
"4.4",
"4.5",
"4.6",
"4.7",
"4.8",
"4.9",
"5.0",
"5.1",
]);
});
it("includes 4.2 onwards", () => {
expect(TypeScriptVersion.range("4.2")).toEqual(TypeScriptVersion.supported);