-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
priority: mediumMedium Priority (not high, not low priority)Medium Priority (not high, not low priority)scope: angularIssues related to Angular support in NxIssues related to Angular support in Nxtype: bug
Description
Current Behavior
All the empty lines from all the *spec.ts file are removed.
Expected Behavior
Only the matcher functions get replaced. No changes to other parts of the code.
GitHub Repo
No response
Steps to Reproduce
- Migrate from NX21.2.1 to NX 22.5 for an angular monorepo project (or 22.4, same issue, 22.3 worked fine).
- Run the migrations.json file, specifically the "Replace removed matcher aliases in Jest v30 with their corresponding matcher"
Nx Report
Node : 24.13.0
OS : linux-x64
Native Target : x86_64-linux
npm : 11.6.2
nx : 21.2.1
@nx/js : 21.2.1
@nx/jest : 21.2.1
@nx/eslint : 21.2.1
@nx/workspace : 21.2.1
@nx/angular : 21.2.1
@nx/devkit : 21.2.1
@nx/eslint-plugin : 21.2.1
@nx/module-federation : 21.2.1
@nx/plugin : 21.2.1
@nx/rspack : 21.2.1
@nx/web : 21.2.1
@nx/webpack : 21.2.1
typescript : 5.8.3
---------------------------------------
Community plugins:
@jsverse/transloco : 7.6.1
@ngneat/hot-toast : 5.0.2
@ngrx/component-store : 19.2.1
@ngrx/effects : 19.2.1
@ngrx/entity : 19.2.1
@ngrx/router-store : 19.2.1
@ngrx/schematics : 19.2.1
@ngrx/store : 19.2.1
@ngrx/store-devtools : 19.2.1
@nx/s3-cache : 3.0.0
devextreme-angular : 24.1.3
ng-mocks : 14.13.4
ngx-bootstrap : 10.2.0
ngx-extended-pdf-viewer : 15.2.0
---------------------------------------
Cache Usage: 0.00 B / 25.09 GBFailure Logs
Package Manager Version
No response
Operating System
- macOS
- Linux
- Windows
- Other (Please specify)
Additional Information
Using Ubuntu under Windows wsl
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority: mediumMedium Priority (not high, not low priority)Medium Priority (not high, not low priority)scope: angularIssues related to Angular support in NxIssues related to Angular support in Nxtype: bug