Skip to content

Commit

Permalink
fix type issue in json reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
barraponto authored Dec 19, 2024
1 parent 5e19dd5 commit 80c8259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/node/reporters/json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class JsonReporter implements Reporter {
this.start = Date.now()
}

protected async logTasks(files: File[], coverageMap?: CoverageMap | null): JsonTestResults {
protected async logTasks(files: File[], coverageMap?: CoverageMap | null): Promise<JsonTestResults> {
const suites = getSuites(files)
const numTotalTestSuites = suites.length
const tests = getTests(files)
Expand Down

0 comments on commit 80c8259

Please sign in to comment.