Skip to content

Commit

Permalink
test(plugin-lighthouse): update expected output
Browse files Browse the repository at this point in the history
  • Loading branch information
hanna-skryl committed Oct 12, 2024
1 parent dda03ce commit bcdcf92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/plugin-lighthouse-e2e/tests/collect.e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ describe('collect report with lighthouse-plugin NPM package', () => {

const { code, stdout } = await executeProcess({
command: 'npx',
args: ['@code-pushup/cli', 'collect', '--no-progress'],
args: ['@code-pushup/cli', 'collect', '--no-progress', '--verbose'],
cwd,
});

expect(code).toBe(0);
const cleanStdout = removeColorCodes(stdout);
expect(cleanStdout).toContain('All 4 audits have perfect scores');
expect(cleanStdout).toContain('● Largest Contentful Paint');

const report = await readJsonFile(join(cwd, '.code-pushup', 'report.json'));
expect(() => reportSchema.parse(report)).not.toThrow();
Expand Down

0 comments on commit bcdcf92

Please sign in to comment.