Skip to content

Commit

Permalink
fix(browser): test coverage after onAfterRun
Browse files Browse the repository at this point in the history
test(test-coverage): multi-suite v8/istanbul

chore: remove example tests
  • Loading branch information
elby-proscia authored and elby22 committed Jul 25, 2023
1 parent 8693449 commit c77f423
Show file tree
Hide file tree
Showing 9 changed files with 632 additions and 81 deletions.
4 changes: 2 additions & 2 deletions packages/browser/src/client/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export function createBrowserRunner(original: any, coverageModule: CoverageHandl
}
}

async onAfterRunSuite() {
await super.onAfterRunSuite?.()
async onAfterRun() {
await super.onAfterRun?.()
const coverage = await coverageModule?.takeCoverage?.()
await rpc().onAfterSuiteRun({ coverage })
}
Expand Down
Loading

0 comments on commit c77f423

Please sign in to comment.