File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/nx-plugin/src/executors/cli Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ export type ExecutorOutput = {
1010 error ?: Error ;
1111} ;
1212
13+ /* eslint-disable max-lines-per-function */
1314export default async function runAutorunExecutor (
1415 terminalAndExecutorOptions : AutorunCommandExecutorOptions ,
1516 context : ExecutorContext ,
@@ -62,3 +63,4 @@ export default async function runAutorunExecutor(
6263 command : commandString ,
6364 } ;
6465}
66+ /* eslint-enable max-lines-per-function */
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ describe('runAutorunExecutor', () => {
122122 expect . stringContaining ( `Run CLI executor` ) ,
123123 ) ;
124124 expect ( loggerInfoSpy ) . toHaveBeenCalledWith (
125- expect . stringContaining ( 'Command: npx @code-pushup/cli ' ) ,
125+ expect . stringContaining ( 'Command:' ) ,
126126 ) ;
127127 } ) ;
128128
@@ -132,9 +132,7 @@ describe('runAutorunExecutor', () => {
132132 expect ( loggerInfoSpy ) . toHaveBeenCalledTimes ( 0 ) ;
133133 expect ( loggerWarnSpy ) . toHaveBeenCalledTimes ( 1 ) ;
134134 expect ( loggerWarnSpy ) . toHaveBeenCalledWith (
135- expect . stringContaining (
136- 'DryRun execution of: npx @code-pushup/cli --dryRun' ,
137- ) ,
135+ expect . stringContaining ( 'DryRun execution of' ) ,
138136 ) ;
139137 } ) ;
140138} ) ;
You can’t perform that action at this time.
0 commit comments