* fix(testing): fixing move tests and functionality
* fix(testing): fixing migration to no-op if getJestProjects() is already being used
* fix(misc): rming console.log statements
* feat(testing): updating nx to use getJestProjects() itself
* feat(testing): using getJestProjects() for new workspaces
* feat(testing): accomodating for getJestConfig() when adding new project
* feat(testing): migration for updating the base jest.config.js
* testing...
* fix(testing): fixing formatting in tests and bumping to next version
* fix(testing): fixing broken tests
* fix(testing): fixing test for jest init
* fix(testing): removing unnecessary test in jest project
* fix(testing): updating remove generator to work with jest utility fn
* fix(testing): fixing line break on package.json
* fix(testing): fixing import statement
* fix(testing): using AST to update the jest config contents
* fix(testing): fixing snapshot tests
* fix(testing): fixing describe to 12.6
* fix(testing): adding back in import statement to jest.config.js
* fix(testing): updating generated docs
* fix(nextjs): update babel setup to better support next apps
* fix(testing): remove babel-jest.config.json used in jest.config.js
- Fix `@nrwl/web/babel` to support Jest as well
* feat(core): update recommended extensions for new workspaces
* feat(core): fix vscode extensions not being generated, add migrations for workspace and jest to add extensions
* feat(core): add e2e to check .vscode/extensions.jon
* chore(core): fix logic for handling angular builders
* chore(core): fix e2e
* chore(core): revert change for angular-console to be default for everyone
* feat(testing): add projects into jest config
* chore(testing): update unit tests and fix presets with spreading a default
* chore(testing): fix node e2e
* chore(testing): review comment changes
* fix(testing): require jest config to resolve it better during migration
* fix(testing): require with appRootPath
* chore(testing): remove uneeded exports and imports
* feat(testing): add util to update jest configs.
* feat(testing): place configurations in jest config file rather than just the builder
* feat(testing): create migration and unit tests
* feat(testing): fix jest template
* feat(testing): fix jest template to correct unit tests
* feat(testing): include globals.ts-jest for all non babel configs
* feat(testing): include globals.ts-jest for node e2e
* feat(testing): fix migration to run properly. Also check for angular tests using the setupfile rather than builder
* feat(testing): clean up jest config functions and fix errors with some migrations
* feat(testing): add new line to package.json
* feat(testing): update object check to actually check for undefined
* chore(testing): loop through all project targets as well as targets
* chore(testing): update migration to be 10.0.0-beta.2
* feat(testing): update to jest-preset-angular v8.0.0 part 1
Updates to jest-preset-angular to v8.0.0, includes migrations to fix any existing projects affected
by the jest-preset-angular update.
closes#1979
* feat(testing): update jest-preset-angular to v8.0.0 part 2
Closed issues: #1979, #2165
Co-authored-by: Joshua D. Mentzer <mentzerj@trinity-health.org>
* feat(testing): update jest-preset-angular to v8.0.0 part 3
Co-authored-by: mentzerj <mentzerj@trinity-health.org>
Co-authored-by: Mehrad Rafigh <4339673+mehrad-rafigh@users.noreply.github.com>
* fix(testing): disable collectCoverage by default
Disabling collectCoverage by default as this causes issues with latest version of Jest
Temp fix#1531
* Adding back code coverage reporters
* feat(nx): add migration to update collectCoverage to false in jest.config.js
Added new migration script to update jest.config.js collectCoverage property to false
* refactor(nx): move migrations to @nrwl/jest
Move the collectCoverage migration to the jest package
* chore: refactor to use AST utils