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 @@ -69,17 +69,15 @@ describe('runAutorunExecutor', () => {
6969 ) ;
7070 expect ( output . success ) . toBe ( true ) ;
7171 expect ( output . command ) . toMatch ( 'utils' ) ;
72- expect ( executeProcessSpy ) . toHaveBeenCalledWith (
73- expect . objectContaining ( {
74- command : 'npx' ,
75- args : expect . arrayContaining ( [ '@code-pushup/cli' ] ) ,
76- cwd : 'cwd-form-context' ,
77- observer : expect . objectContaining ( {
78- onError : expect . any ( Function ) ,
79- onStdout : expect . any ( Function ) ,
80- } ) ,
81- } ) ,
82- ) ;
72+ expect ( executeProcessSpy ) . toHaveBeenCalledWith ( {
73+ command : 'npx' ,
74+ args : expect . arrayContaining ( [ '@code-pushup/cli' ] ) ,
75+ cwd : 'cwd-form-context' ,
76+ observer : {
77+ onError : expect . any ( Function ) ,
78+ onStdout : expect . any ( Function ) ,
79+ } ,
80+ } ) ;
8381 } ) ;
8482
8583 it ( 'should process executorOptions' , async ( ) => {
You can’t perform that action at this time.
0 commit comments