@@ -20,8 +20,8 @@ describe("isSupported", () => {
2020 it ( "works" , ( ) => {
2121 expect ( TypeScriptVersion . isSupported ( "5.6" ) ) . toBeTruthy ( ) ;
2222 } ) ;
23- it ( "supports 5.2 " , ( ) => {
24- expect ( TypeScriptVersion . isSupported ( "5.2 " ) ) . toBeTruthy ( ) ;
23+ it ( "supports 5.3 " , ( ) => {
24+ expect ( TypeScriptVersion . isSupported ( "5.3 " ) ) . toBeTruthy ( ) ;
2525 } ) ;
2626 it ( "does not support 4.0" , ( ) => {
2727 expect ( ! TypeScriptVersion . isSupported ( "4.0" ) ) . toBeTruthy ( ) ;
@@ -30,7 +30,7 @@ describe("isSupported", () => {
3030
3131describe ( "isTypeScriptVersion" , ( ) => {
3232 it ( "accepts in-range" , ( ) => {
33- expect ( TypeScriptVersion . isTypeScriptVersion ( "5.2 " ) ) . toBeTruthy ( ) ;
33+ expect ( TypeScriptVersion . isTypeScriptVersion ( "5.3 " ) ) . toBeTruthy ( ) ;
3434 } ) ;
3535 it ( "rejects out-of-range" , ( ) => {
3636 expect ( TypeScriptVersion . isTypeScriptVersion ( "101.1" ) ) . toBeFalsy ( ) ;
@@ -42,17 +42,16 @@ describe("isTypeScriptVersion", () => {
4242
4343describe ( "range" , ( ) => {
4444 it ( "works" , ( ) => {
45- expect ( TypeScriptVersion . range ( "5.2 " ) ) . toEqual ( [ "5.2" , "5.3" , "5.4" , "5.5" , "5.6" , "5.7" , "5.8" , "5.9" , "6.0" ] ) ;
45+ expect ( TypeScriptVersion . range ( "5.3 " ) ) . toEqual ( [ "5.3" , "5.4" , "5.5" , "5.6" , "5.7" , "5.8" , "5.9" , "6.0" ] ) ;
4646 } ) ;
47- it ( "includes 5.2 onwards" , ( ) => {
48- expect ( TypeScriptVersion . range ( "5.2 " ) ) . toEqual ( TypeScriptVersion . supported ) ;
47+ it ( "includes 5.3 onwards" , ( ) => {
48+ expect ( TypeScriptVersion . range ( "5.3 " ) ) . toEqual ( TypeScriptVersion . supported ) ;
4949 } ) ;
5050} ) ;
5151
5252describe ( "tagsToUpdate" , ( ) => {
5353 it ( "works" , ( ) => {
54- expect ( TypeScriptVersion . tagsToUpdate ( "5.2" ) ) . toEqual ( [
55- "ts5.2" ,
54+ expect ( TypeScriptVersion . tagsToUpdate ( "5.3" ) ) . toEqual ( [
5655 "ts5.3" ,
5756 "ts5.4" ,
5857 "ts5.5" ,
@@ -64,8 +63,8 @@ describe("tagsToUpdate", () => {
6463 "latest" ,
6564 ] ) ;
6665 } ) ;
67- it ( "allows 5.2 onwards" , ( ) => {
68- expect ( TypeScriptVersion . tagsToUpdate ( "5.2 " ) ) . toEqual (
66+ it ( "allows 5.3 onwards" , ( ) => {
67+ expect ( TypeScriptVersion . tagsToUpdate ( "5.3 " ) ) . toEqual (
6968 TypeScriptVersion . supported . map ( ( s ) => "ts" + s ) . concat ( "latest" ) ,
7069 ) ;
7170 } ) ;
0 commit comments