You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When migrating to NX 13.2 or higher a migration script for the jest-preset-angular is executed. This script updates every project in the workspace that uses this preset in the jest.config.js. In our workspace with 2500 projects this migration runs for 2 hours to finish.
Expected Behavior
The migration for each project is pretty small so i expect that this should take seconds to finish.
Steps to Reproduce
Create workspace with a lot of angular projects that has jest and using the jest-preset-angular config.
Run migration and wait till it is finished
The cause of this slow migration is because await formatFiles(tree) is called inside a for loop for every project
packages/angular/src/migrations/update-13-2-0/update-angular-jest-config.ts Line 28
This issue may not be prioritized if details are not provided to help us reproduce the issue.
Failure Logs
Environment
The text was updated successfully, but these errors were encountered:
Current Behavior
When migrating to NX 13.2 or higher a migration script for the jest-preset-angular is executed. This script updates every project in the workspace that uses this preset in the jest.config.js. In our workspace with 2500 projects this migration runs for 2 hours to finish.
Expected Behavior
The migration for each project is pretty small so i expect that this should take seconds to finish.
Steps to Reproduce
The cause of this slow migration is because
await formatFiles(tree)
is called inside a for loop for every projectpackages/angular/src/migrations/update-13-2-0/update-angular-jest-config.ts Line 28
This issue may not be prioritized if details are not provided to help us reproduce the issue.
Failure Logs
Environment
The text was updated successfully, but these errors were encountered: