mirror of
https://github.com/chenasraf/DefinitelyTyped-tools.git
synced 2026-05-18 01:49:03 +00:00
Format
This commit is contained in:
@@ -169,17 +169,7 @@ 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",
|
||||
]);
|
||||
expect(TypeScriptVersion.range("4.2")).toEqual(["4.2", "4.3", "4.4", "4.5", "4.6", "4.7", "4.8", "4.9", "5.0"]);
|
||||
});
|
||||
it("includes 4.2 onwards", () => {
|
||||
expect(TypeScriptVersion.range("4.2")).toEqual(TypeScriptVersion.supported);
|
||||
|
||||
Reference in New Issue
Block a user