Skip to content

Commit

Permalink
docs: update test-module (#7143)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va authored Dec 28, 2024
1 parent a941d35 commit 8764f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced/api/test-module.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Reporter {

onFinished(files: RunnerTestFile[]) {
for (const file of files) {
const testModule = this.vitest.getReportedEntity(file) as TestModule
const testModule = this.vitest.state.getReportedEntity(file) as TestModule
console.log(testModule) // TestModule
}
}
Expand Down

0 comments on commit 8764f5c

Please sign in to comment.