@@ -11,7 +11,7 @@ const cwd = import.meta.dirname;
1111
1212describe ( 'Terminal Tests' , ( ) => {
1313 it ( 'Should run cli' , async ( ) => {
14- const argv = [ 'transform' , '-i' , './schema.idea' ] ;
14+ const argv = [ 'transform' , '-- i' , './schema.idea' ] ;
1515 const terminal = await Terminal . load ( argv , { cwd } ) ;
1616 expect ( terminal . cwd ) . to . equal ( cwd ) ;
1717 await terminal . run ( ) ;
@@ -24,7 +24,7 @@ describe('Terminal Tests', () => {
2424 } ) . timeout ( 20000 ) ;
2525
2626 it ( 'Should run cli using json file' , async ( ) => {
27- const argv = [ 'transform' , '-i' , './schema.idea' ] ;
27+ const argv = [ 'transform' , '-- i' , './schema.idea' ] ;
2828 const terminal = await Terminal . load ( argv , { cwd } ) ;
2929 expect ( terminal . cwd ) . to . equal ( cwd ) ;
3030 await terminal . run ( ) ;
@@ -41,7 +41,7 @@ describe('Terminal Tests', () => {
4141
4242 // Line 22
4343 it ( 'Should use default options when options parameter is omitted' , async ( ) => {
44- const argv = [ 'transform' , '-i' , './schema.idea' ] ;
44+ const argv = [ 'transform' , '-- i' , './schema.idea' ] ;
4545 const terminal = await Terminal . load ( argv , { cwd } ) ;
4646 expect ( terminal . cwd ) . to . equal ( import . meta. dirname ) ;
4747 } ) ;
0 commit comments