Skip to content

Conversation

cacieprins
Copy link
Contributor

  • Closes

Additional details

Some vitest extensions have a pretty hard time in a monorepo with multiple vitest configs.

This project config is set up to quiet those warnings. It's not super useful to run vitest from root at this point - it takes quite some time, partially because some of our vitest suites are more integration tests than unit tests (particularly in npm/cypress-schematic).

Steps to test

How has the user experience changed?

PR Tasks

cursor[bot]

This comment was marked as outdated.

Copy link

cypress bot commented Sep 8, 2025

cypress    Run #65426

Run Properties:  status check passed Passed #65426  •  git commit 28a2c0b269: downgrade vite-dev-server to vitest 2
Project cypress
Branch Review chore/vitest-project-config
Run status status check passed Passed #65426
Run duration 10m 00s
Commit git commit 28a2c0b269: downgrade vite-dev-server to vitest 2
Committer Cacie Prins
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 694
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 130
View all changes introduced in this branch ↗︎

cursor[bot]

This comment was marked as outdated.

@cacieprins cacieprins closed this Sep 8, 2025
@cacieprins cacieprins reopened this Sep 9, 2025
cursor[bot]

This comment was marked as outdated.

'cli/vitest.config.*',
],
exclude: ['**/node_modules/**', '**/dist/**', 'system-tests/**'],
coverage: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where exactly does the coverage get output to and do we need to check if they are generated similar to our current CI process?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They aren't, yet! I've been using it personally to check coverage locally, but not anything in CI.

@cacieprins cacieprins merged commit acba4dc into develop Sep 15, 2025
88 of 91 checks passed
@cacieprins cacieprins deleted the chore/vitest-project-config branch September 15, 2025 16:53
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.

2 participants