Skip to content

Commit

Permalink
fix(workspace): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherPHolder committed Aug 26, 2024
1 parent 894b827 commit c26f496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/cli-e2e/tests/collect/format.e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function isValidFormatedResult(format: string, result: string) {
const isValidFile = {
'html': (report: string) => report.includes(DUMMY_USER_FLOW_NAME),
'json': (report: string) => !!(JSON.parse(report)?.name || '').includes(DUMMY_USER_FLOW_NAME),
'md': (report: string) => report.includes(`| Gather Mode | Performance | Accessibility | Best Practices | Seo | Pwa |`)
'md': (report: string) => report.includes(`| Gather Mode | Performance | Accessibility | Best Practices | Seo |`)
};
// @ts-ignore
return isValidFile[format](result);
Expand Down

0 comments on commit c26f496

Please sign in to comment.