Skip to content

fix!: remove 'basic' reporter #7884

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 18, 2025

Conversation

AriPerkkio
Copy link
Member

Description

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

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

@AriPerkkio AriPerkkio added breaking change feat: reporters Issues and PRs related to Vitest reporters labels Apr 24, 2025
@AriPerkkio AriPerkkio added this to the 4.0.0 milestone Apr 24, 2025
Copy link

netlify bot commented Apr 24, 2025

Deploy Preview for vitest-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit af9ee84
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/68525a01bdf9020008b9d433
😎 Deploy Preview https://deploy-preview-7884--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@AriPerkkio AriPerkkio force-pushed the fix/remove-basic-reporter branch 2 times, most recently from 21e9b45 to 9635e69 Compare April 24, 2025 13:59
sheremet-va
sheremet-va previously approved these changes Apr 24, 2025
@AriPerkkio AriPerkkio linked an issue Apr 29, 2025 that may be closed by this pull request
6 tasks
@AriPerkkio AriPerkkio merged commit 82fcf5d into vitest-dev:main Jun 18, 2025
22 of 26 checks passed
@AriPerkkio AriPerkkio deleted the fix/remove-basic-reporter branch June 18, 2025 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change feat: reporters Issues and PRs related to Vitest reporters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs don't mention basic reporter is deprecated
2 participants