diff --git a/packages/vitest/src/node/reporters/dot.ts b/packages/vitest/src/node/reporters/dot.ts index 29ce0e767cac..6a819e333320 100644 --- a/packages/vitest/src/node/reporters/dot.ts +++ b/packages/vitest/src/node/reporters/dot.ts @@ -2,6 +2,7 @@ import type { Test } from '@vitest/runner' import type { SerializedError } from '@vitest/utils' import type { Writable } from 'node:stream' import type { Vitest } from '../core' +import type { TestSpecification } from '../test-specification' import type { TestRunEndReason } from '../types/reporter' import type { TestCase, TestModule } from './reported-tasks' import c from 'tinyrainbow' @@ -36,6 +37,12 @@ export class DotReporter extends BaseReporter { // Ignore default logging of base reporter printTestModule(): void {} + onTestRunStart(_specifications: ReadonlyArray): void { + super.onTestRunStart(_specifications) + + this.renderer?.start() + } + onWatcherRerun(files: string[], trigger?: string): void { this.tests.clear() this.renderer?.start()