File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,6 @@ describe("command line", () => {
2121 } ) ;
2222 } ) ;
2323
24- test ( "should error on tsconfig-only options" , ( ) => {
25- const result = tstl . parseCommandLine ( [ "--tsTransformers" , "transformer" ] ) ;
26-
27- expect ( result . errors ) . toHaveDiagnostics ( ) ;
28- expect ( result . options . tsTransformers ) . toBeUndefined ( ) ;
29- expect ( result . fileNames ) . toEqual ( [ "transformer" ] ) ;
30- } ) ;
31-
3224 test ( "should error on unknown options" , ( ) => {
3325 const result = tstl . parseCommandLine ( [ "--unknownOption" ] ) ;
3426
@@ -172,13 +164,6 @@ describe("tsconfig", () => {
172164 expect ( result . options . noHeader ) . toBeUndefined ( ) ;
173165 } ) ;
174166
175- test ( "should parse lists" , ( ) => {
176- const result = parseConfigFileContent ( { tstl : { tsTransformers : [ { foo : "bar" } ] } } ) ;
177-
178- expect ( result . errors ) . not . toHaveDiagnostics ( ) ;
179- expect ( result . options . tsTransformers ) . toEqual ( [ { foo : "bar" } ] ) ;
180- } ) ;
181-
182167 describe ( "enum options" , ( ) => {
183168 test ( "should parse enums" , ( ) => {
184169 const result = parseConfigFileContent ( { tstl : { luaTarget : "5.1" } } ) ;
You can’t perform that action at this time.
0 commit comments