Skip to content

Commit

Permalink
chore: print where coverage is reported to
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Apr 9, 2024
1 parent 7a47de9 commit cb77ee5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/worker/coverage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ export class VitestCoverage {
this._config.reportOnFailure = true
this._config.reportsDirectory = join(tmpdir(), `vitest-coverage-${randomUUID()}`)

this.ctx.logger.log('Coverage reports directory is generated:', this._config.reportsDirectory)

if (!this._provider) {
// @ts-expect-error private method
await vitest.initCoverageProvider()
Expand Down

0 comments on commit cb77ee5

Please sign in to comment.