'styles' object key always sets its value as an array with Jest testing #1759
Labels
outdated
scope: testing tools
Issues related to Cypress / Jest / Playwright / Vitest support in Nx
type: feature
Expected Behavior
When running a Jest test for an Angular application that was setup using the NX workspace, the key
styles
in any object should be allowed to be mutated.Current Behavior
Running Jest tests for an Angular application that was setup using the NX workspace, the key
styles
in an object is always set to an array[]
.Failure Information (for bugs)
Steps to Reproduce
npx create-nx-workspace@8.4.12 test-workspace
(I used latest at the time)1. angular
2. test-workspace
3. sass
4. Yes
cd nx-workspace
apps/test-workspace/src/app/app.component.spec.ts
file to only be the below:yarn test
styles
as an object key always sets the value to[]
.Other
The text was updated successfully, but these errors were encountered: