* feat(testing): support jest 28
WIP jest migration
* fix(testing): jest-environment-jsdom must be explicitly added now
* fix(testing): add rxjs to the transform lsit
* fix(testing): jest ts-jest updates and resolver issues
* feat(testing): remove test runner for react native jest
* feat(testing): add preprocessor for react native jest
* fix(testing): update query to handle tsx file syntax, remove rxjs transform
* chore(repo): remove file from accident commit
* chore(testing): update migration to target 14.6 for RN jest preprocessor
* fix(testing): call passed in packageFilter if preset
* docs(testing): add resolver env var to troubleshooting guide
* chore(repo): prep resolver for jest 28 migration
* fix(testing): update deps to handle esbuild-wasm service error
* fix(testing): switch to testEnvironmentOptions for cjs loading vs resolver list
* fix(testing): force babel-jest preset in transformer for project transforms
* chore(testing): address PR feedback
* fix(testing): address pr feedback, remove react-native transform
* chore(testing): update createTreeWithEmptyWorkspace calls
* chore(testing): address pr feedback
* feat(testing): add migration script for react native to rename .babelrc to babel.config.json
* chore(testing): nx format after rebase
* chore(testing): fix display name for @nrwl/js
Co-authored-by: Emily Xiong <xiongemi@gmail.com>
* feat(devkit): split create-empty-tree to different functions
* chore(repo): apply migration for createEmptyTree
* cleanup(misc): fix tests that migration misses
* fix(testing): jest.preset.ts => jest.preset.js
* fix(testing): update to export default
* fix(testing): migration for moving to export default
* fix(testing): add eslint ignore comments for jest config properties
fixes: #10021
* fix(testing): update tsconfig.spec.json for next apps with project parserOptions
fixes: #9982
* fix(testing): prevent renaming root jest preset
fixes: #9973
* fix(testing): update snapshots for export default
* fix(testing): bump migration version to run
* fix(testing): make sure default jest tests pass for various projects
* fix(js): generate correct jest config for --compiler=swc --js
* chore(core): use destructuring assignment
* chore(core): use destructuring assignment
* chore(core): use destructuring assignment
* chore(core): use destructuring assignment
* chore(core): use destructuring assignment
* feat(testing): move jest config to .ts
move jest config and preset to ts files
ISSUES CLOSED: #8344
* fix(testing): update tests for jest.config.ts changes
update tests broken by renaming jest fils to ts files
Fix issue for migrating jest plugin to 13.4.4 when the projects
may have a custom preset that
excludes the transform property
from the jest.config.js.
Just adds an if statement around the
loop for the transform property
ISSUES CLOSED: #8566
* fix(testing): create root babel config for babel-jest option
when creating a jest project with babel-jest a root babel.config.json file will be create if one
doesn't exist and babel deps install for allowing jest tests to run successfully
ISSUES CLOSED: #6782
* feat(testing): add migration for missing root babel config
* fix(testing): update tsconfig migration to not warn when no file found
use tsconfig.json references to find what other configs need to be updated. if non when we just exit
* fix(testing): update tests for migration changes
* fix(testing): include any spec. file names in pattern match
accounting for _spec. file names when generating 'test' pattern equivalents
* fix(testing): remove relance on tsconfig.references, walk for all tsconfigs to update
tsconfig.references is not always present. instead visit all files and check if they are tsconfig
json file. if so we update the include/exclude properties where a spec. pattern is found. if the
property isn't set then we do not update it.
* fix(testing): stream line update with devkit