From 447ef4e2b9e15a7a28591be9fc58fb792c0758b4 Mon Sep 17 00:00:00 2001 From: Vladimir Date: Sat, 28 Dec 2024 18:24:46 +0100 Subject: [PATCH] docs: update test-module --- docs/advanced/api/test-module.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced/api/test-module.md b/docs/advanced/api/test-module.md index d3f69f0c4bb7..07ae12305712 100644 --- a/docs/advanced/api/test-module.md +++ b/docs/advanced/api/test-module.md @@ -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 } }