File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -687,16 +687,22 @@ describe('parse', () => {
687687 it ( 'should include range when true' , ( ) => {
688688 const ret = parseSync ( 'test.js' , '(x)' , { range : true } ) ;
689689 expect ( ret . program . body [ 0 ] . start ) . toBe ( 0 ) ;
690+ // TODO: Remove `@ts-ignore` comment once we've corrected TS type definitions
691+ // @ts -ignore
690692 expect ( ret . program . body [ 0 ] . range ) . toEqual ( [ 0 , 3 ] ) ;
691693 } ) ;
692694
693695 it ( 'should not include range when false' , ( ) => {
694696 const ret = parseSync ( 'test.js' , '(x)' , { range : false } ) ;
697+ // TODO: Remove `@ts-ignore` comment once we've corrected TS type definitions
698+ // @ts -ignore
695699 expect ( ret . program . body [ 0 ] . range ) . toBeUndefined ( ) ;
696700 } ) ;
697701
698702 it ( 'should include range by default' , ( ) => {
699703 const ret = parseSync ( 'test.js' , '(x)' ) ;
704+ // TODO: Remove `@ts-ignore` comment once we've corrected TS type definitions
705+ // @ts -ignore
700706 expect ( ret . program . body [ 0 ] . range ) . toBeUndefined ( ) ;
701707 } ) ;
702708 } ) ;
You can’t perform that action at this time.
0 commit comments