Skip to content

Commit

Permalink
test: add onlyPlugins and skipPlugins to print-config e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
nacho-vazquez authored and matejchalk committed Jul 11, 2024
1 parent 9259055 commit e841532
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions e2e/cli-e2e/tests/print-config.e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ describe('print-config', () => {
'--persist.outputDir=output-dir',
'--persist.format=md',
`--persist.filename=${ext}-report`,
'--onlyPlugins=coverage',
'--skipPlugins=eslint',
],
});

Expand Down Expand Up @@ -55,8 +57,8 @@ describe('print-config', () => {
expect.objectContaining({ slug: 'code-style' }),
expect.objectContaining({ slug: 'code-coverage' }),
],
onlyPlugins: [],
skipPlugins: [],
onlyPlugins: ['coverage'],
skipPlugins: ['eslint'],
}),
);
},
Expand Down

0 comments on commit e841532

Please sign in to comment.