File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed
packages/nx-plugin/src/executors/cli Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -43,16 +43,14 @@ describe('runAutorunExecutor', () => {
4343 } ) ,
4444 ) ;
4545 expect ( executeProcessSpy ) . toHaveBeenCalledTimes ( 1 ) ;
46- expect ( executeProcessSpy ) . toHaveBeenCalledWith (
47- expect . objectContaining ( {
48- command : 'npx' ,
49- args : expect . arrayContaining ( [ '@code-pushup/cli' ] ) ,
50- cwd : process . cwd ( ) ,
51- observer : expect . objectContaining ( {
52- onError : expect . any ( Function ) ,
53- onStdout : expect . any ( Function ) ,
54- } ) ,
55- } ) ,
56- ) ;
46+ expect ( executeProcessSpy ) . toHaveBeenCalledWith ( {
47+ command : 'npx' ,
48+ args : expect . arrayContaining ( [ '@code-pushup/cli' ] ) ,
49+ cwd : process . cwd ( ) ,
50+ observer : {
51+ onError : expect . any ( Function ) ,
52+ onStdout : expect . any ( Function ) ,
53+ } ,
54+ } ) ;
5755 } ) ;
5856} ) ;
You can’t perform that action at this time.
0 commit comments