We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ae696f commit 130fddaCopy full SHA for 130fdda
1 file changed
code/addons/vitest/src/node/reporter.ts
@@ -60,6 +60,8 @@ export class StorybookReporter implements Reporter {
60
this.ctx.state.pathsSet.clear();
61
this.ctx.state.idMap.clear();
62
this.ctx.state.errorsSet.clear();
63
- this.ctx.state.processTimeoutCauses.clear();
+ // TODO: Remove this once we don't support Vitest < 4
64
+ // @ts-expect-error processTimeoutCauses does not exist in Vitest 4
65
+ this.ctx.state.processTimeoutCauses?.clear();
66
}
67
0 commit comments