Skip to content
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

Vitest 3 Reproduction #38

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

valentinpalkovic
Copy link
Collaborator

@valentinpalkovic valentinpalkovic commented Jan 3, 2025

This reproduction demonstrates how tests in Vitest 3 are initially failing if optimizeDeps.include aren't configured properly.

Reproduction:

  1. yarn
  2. Open vitest.workspace.ts and remove the optimizeDeps.include config
  3. Run yarn vitest. Tests are failing. Rerunning them by typing r works at the second attempt
  4. Open vitest.workspace.ts and re-add the optimizeDeps.include config
  5. Run yarn vitest. All tests are passing in the first run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant