8 Commits

Author SHA1 Message Date
Caleb Ukle
74bd0bb00c
feat(testing): support root project generation for jest (#13353)
Co-authored-by: Miroslav Jonas <missing.manual@gmail.com>
2022-11-29 17:03:19 -05:00
Zachary DeRose
65b2edf69d
feat(testing): adding getJestProjects() utility for root jest.config.js file (#5425) 2021-04-28 15:45:33 -04:00
Jason Jean
06f84b3326
feat(react): migrate @nrwl/web schematics to devkit (#4666) 2021-02-02 18:56:35 -05:00
Jason Jean
7482944eea feat(testing): move jest builder to devkit 2021-01-14 08:54:38 -05:00
victor savkin
baa8c23d0f feat(misc): make all generators public 2020-12-02 10:51:43 -05:00
Jonathan Cammisuli
12a407f8cb
fix(testing): resolve jestconfig and add globals.ts-jest if needed for migration (#3336)
* fix(testing): require jest config to resolve it better during migration

* fix(testing): require with appRootPath

* chore(testing): remove uneeded exports and imports
2020-07-14 12:59:38 -04:00
Jonathan Cammisuli
3b8a10f073
feat(testing): add setupFilesAfterEnv and other configs to project's jest config file (#3224)
* 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
2020-07-13 10:45:04 -04:00
Jason Jean
625b2837a8 refactor(testing): separate jest to @nrwl/jest 2019-04-16 13:10:49 -04:00