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

fix(vite): do not stop the test process of failure in watch mode #29260

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jiri-prokop-pb
Copy link

Current Behavior

When you run nx run <lib>:test --watch it only works correctly if there are no failing tests. In case you have some failing test, the process finishes immediately after all tests are finished.

Expected Behavior

Watch mode should work the same as with Jest or when you use vitest on its own.

Related Issue(s)

The logic seems to be broken with introduction of #27722

Fixes #28050

@jiri-prokop-pb jiri-prokop-pb requested a review from a team as a code owner December 9, 2024 12:54
Copy link

vercel bot commented Dec 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Dec 9, 2024 1:12pm

@jiri-prokop-pb

This comment was marked as resolved.

@yharaskrik
Copy link
Contributor

Yes please!

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.

^19.7.4 command nx run app:test --watch --ui causes task to fail on test failure
2 participants