From 05641b986023e29bc63d0f8c2926e0474b00eff0 Mon Sep 17 00:00:00 2001 From: Dmitry Makhnev Date: Fri, 26 May 2023 11:13:45 +0300 Subject: [PATCH] ISSUE-13112: Fix docs --- packages/jest-reporters/src/types.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/jest-reporters/src/types.ts b/packages/jest-reporters/src/types.ts index f7cfd50e0fb9..3f285ba9f285 100644 --- a/packages/jest-reporters/src/types.ts +++ b/packages/jest-reporters/src/types.ts @@ -30,6 +30,10 @@ export interface Reporter { testResult: TestResult, aggregatedResult: AggregatedResult, ) => Promise | void; + /** + * Called before running a spec (prior to `before` hooks) + * Not called for `skipped` and `todo` specs + */ readonly onTestCaseStart?: ( test: Test, testCaseStartInfo: Circus.TestCaseStartInfo,