@@ -25,14 +25,13 @@ describe('collect report with coverage-plugin NPM package', () => {
2525 } ) ;
2626
2727 it ( 'should run Code coverage plugin which collects passed results and creates report.json' , async ( ) => {
28- const { code, stderr } = await executeProcess ( {
28+ const { code } = await executeProcess ( {
2929 command : 'npx' ,
3030 args : [ '@code-pushup/cli' , 'collect' , '--no-progress' ] ,
3131 cwd : basicDir ,
3232 } ) ;
3333
3434 expect ( code ) . toBe ( 0 ) ;
35- expect ( stderr ) . toBe ( '' ) ;
3635
3736 const report = await readJsonFile (
3837 join ( basicDir , '.code-pushup' , 'report.json' ) ,
@@ -43,14 +42,13 @@ describe('collect report with coverage-plugin NPM package', () => {
4342 } ) ;
4443
4544 it ( 'should run Code coverage plugin that runs coverage tool and creates report.json' , async ( ) => {
46- const { code, stderr } = await executeProcess ( {
45+ const { code } = await executeProcess ( {
4746 command : 'npx' ,
4847 args : [ '@code-pushup/cli' , 'collect' , '--no-progress' ] ,
4948 cwd : existingDir ,
5049 } ) ;
5150
5251 expect ( code ) . toBe ( 0 ) ;
53- expect ( stderr ) . toBe ( '' ) ;
5452
5553 const report = await readJsonFile (
5654 join ( existingDir , '.code-pushup' , 'report.json' ) ,
0 commit comments