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(js): should respect vitest test environment #19859

Merged

Conversation

ndcunningham
Copy link
Contributor

Current Behavior

When you generate a library configured with vitest as the unit test the testEnvironment is always set to jsdom

Expected Behavior

We should use the testEnvironment supplied.

Related Issue(s)

Fixes #19853

@ndcunningham ndcunningham self-assigned this Oct 25, 2023
@ndcunningham ndcunningham requested a review from a team as a code owner October 25, 2023 16:42
@vercel
Copy link

vercel bot commented Oct 25, 2023

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

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Oct 26, 2023 2:23pm

@ndcunningham ndcunningham enabled auto-merge (squash) October 25, 2023 17:27
@ndcunningham ndcunningham merged commit 04e4e25 into nrwl:master Oct 26, 2023
6 checks passed
@ndcunningham ndcunningham deleted the fix/js-vitest-test-environment branch October 26, 2023 17:48
Copy link

github-actions bot commented Nov 1, 2023

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

create-nx-workspace can create a workspace with missing jsdom dependency
2 participants