@@ -59,7 +59,7 @@ describe('Cli client', () => {
5959 spyExit . mockImplementationOnce ( jest . fn ( ) )
6060 expect ( ( ) => {
6161 cli ( config )
62- } ) . not . toThrowError ( )
62+ } ) . not . toThrow ( )
6363 } )
6464 it ( 'when mode is outbound and inputFiles is provided should not throw an error' , async ( ) => {
6565 const config = {
@@ -69,7 +69,7 @@ describe('Cli client', () => {
6969 spyExit . mockImplementationOnce ( jest . fn ( ) )
7070 expect ( ( ) => {
7171 cli ( config )
72- } ) . not . toThrowError ( )
72+ } ) . not . toThrow ( )
7373 expect ( spyExit ) . toHaveBeenCalledWith ( 1 )
7474 } )
7575 it ( 'when mode is outbound, inputFiles and environmentFile is provided should not throw an error' , async ( ) => {
@@ -81,7 +81,7 @@ describe('Cli client', () => {
8181 spyExit . mockImplementationOnce ( jest . fn ( ) )
8282 expect ( ( ) => {
8383 cli ( config )
84- } ) . not . toThrowError ( )
84+ } ) . not . toThrow ( )
8585 jest . advanceTimersByTime ( 1000 * 60 * 15 )
8686 expect ( spyExit ) . toHaveBeenCalledWith ( 1 )
8787 } )
@@ -92,7 +92,7 @@ describe('Cli client', () => {
9292 spyExit . mockImplementationOnce ( jest . fn ( ) )
9393 expect ( ( ) => {
9494 cli ( config )
95- } ) . not . toThrowError ( )
95+ } ) . not . toThrow ( )
9696 expect ( spyExit ) . toHaveBeenCalledWith ( 1 )
9797 } )
9898 it ( 'when mode is testcaseDefinitionReport and inputFile was provided should not throw an error' , async ( ) => {
@@ -103,7 +103,7 @@ describe('Cli client', () => {
103103 spyExit . mockImplementationOnce ( jest . fn ( ) )
104104 expect ( ( ) => {
105105 cli ( config )
106- } ) . not . toThrowError ( )
106+ } ) . not . toThrow ( )
107107 } )
108108 it ( 'when mode is testcaseDefinitionReport and inputFile was not provided should not throw an error' , async ( ) => {
109109 const config = {
@@ -112,7 +112,7 @@ describe('Cli client', () => {
112112 spyExit . mockImplementationOnce ( jest . fn ( ) )
113113 expect ( ( ) => {
114114 cli ( config )
115- } ) . not . toThrowError ( )
115+ } ) . not . toThrow ( )
116116 expect ( spyExit ) . toHaveBeenCalledWith ( 1 )
117117 } )
118118 it ( 'when mode is not supported should not throw an error' , async ( ) => {
@@ -122,16 +122,16 @@ describe('Cli client', () => {
122122 spyExit . mockImplementationOnce ( jest . fn ( ) )
123123 expect ( ( ) => {
124124 cli ( config )
125- } ) . not . toThrowError ( )
125+ } ) . not . toThrow ( )
126126 expect ( spyExit ) . toHaveBeenCalledWith ( 1 )
127127 } )
128128 it ( 'when mode is not provided should not throw an error' , async ( ) => {
129129 const config = { }
130130 spyExit . mockImplementationOnce ( jest . fn ( ) )
131131 expect ( ( ) => {
132132 cli ( config )
133- } ) . not . toThrowError ( )
133+ } ) . not . toThrow ( )
134134 expect ( spyExit ) . toHaveBeenCalledWith ( 1 )
135135 } )
136136 } )
137- } )
137+ } )
0 commit comments