Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/guide/reporters.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ Final output after tests have finished:

### Basic Reporter

::: warning
The `basic` reporter will be removed in [Vitest v4](https://github.com/vitest-dev/vitest/releases/tag/v4.0.0-beta.1).
Use [default reporter](#default-reporter) with `summary` false.
:::

The `basic` reporter is equivalent to `default` reporter without `summary`.

:::code-group
Expand Down
2 changes: 1 addition & 1 deletion packages/vitest/src/node/reporters/basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class BasicReporter extends BaseReporter {
super.onInit(ctx)

ctx.logger.deprecate(
`'basic' reporter is deprecated and will be removed in Vitest v3.\n`
`'basic' reporter is deprecated and will be removed in Vitest v4.\n`
+ `Remove 'basic' from 'reporters' option. To match 'basic' reporter 100%, use configuration:\n${
JSON.stringify({ test: { reporters: [['default', { summary: false }]] } }, null, 2)}`,
)
Expand Down
Loading