-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
@nx/react:application generator - cannot have unitTestRunner jest with bundler vite #22276
Closed
1 of 4 tasks
Labels
Comments
ndcunningham
added a commit
that referenced
this issue
May 14, 2024
ndcunningham
added a commit
that referenced
this issue
May 14, 2024
ndcunningham
added a commit
that referenced
this issue
May 15, 2024
ndcunningham
added a commit
that referenced
this issue
May 15, 2024
ndcunningham
added a commit
that referenced
this issue
May 15, 2024
ndcunningham
added a commit
that referenced
this issue
May 15, 2024
ndcunningham
added a commit
that referenced
this issue
May 15, 2024
ndcunningham
added a commit
that referenced
this issue
May 15, 2024
ndcunningham
added a commit
that referenced
this issue
May 16, 2024
ndcunningham
added a commit
that referenced
this issue
May 16, 2024
ndcunningham
added a commit
that referenced
this issue
May 16, 2024
FrozenPandaz
pushed a commit
that referenced
this issue
May 21, 2024
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Current Behavior
When I use the @nx/react:application generator with options bundler=vite and unitTestRunner=jest, the project's "test" target uses vite
Expected Behavior
I expect the test target to use jest due to specifying jest as the unitTestRunner.
GitHub Repo
https://github.com/nrwl/nx-examples
Steps to Reproduce
nx g @nx/react:application my-app --bundler=vite --e2eTestRunner=none --projectNameAndRootFormat=derived --unitTestRunner=jest
nx show project my-app --web
shows the test runner as vitestNx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
Got the same in a completely fresh integrated repo using pnpm
The text was updated successfully, but these errors were encountered: