Martin Hochel
6b8592da2e
feat(misc): add babelJest support to node,web,workspace,express plugins ( #3636 )
...
ISSUES CLOSED : #3041
2020-09-08 13:59:36 -04:00
Zachary Williams
556385c012
fix(misc): remove deprecated jest builder options from schematic ( #3630 )
...
ISSUES CLOSED : #3505
2020-09-05 10:44:30 -04:00
Tasos Bekos
8abc06d3af
fix(testing): handle coverageRepoters for Jest through CLI
2020-09-03 11:07:06 -04:00
Jonathan Cammisuli
c9fb2ee9a4
chore(testing): change migration to target beta.4 ( #3573 )
2020-08-20 08:46:10 -04:00
Jonathan Cammisuli
31128c3db6
fix(testing): add jest migration for 10.1.0 ( #3566 )
2020-08-19 18:50:23 -04:00
Jonathan Cammisuli
7dbf48a11e
chore(repo): update to 10.1.0-beta ( #3561 )
2020-08-19 13:06:12 -04:00
Jonathan Cammisuli
2569b0270d
feat(testing): update jest to v26 ( #3449 )
2020-08-14 14:54:01 -04:00
Victor Savkin
aff592b930
feat(angular): add an option to use eslint
2020-08-06 22:08:16 -04:00
Ramiro Rivera
de36724e36
docs(testing): fix jest builder documentation regarding coverageDirectory key ( #3421 )
...
ISSUES CLOSED : #3420
2020-07-28 09:53:18 -04:00
Victor Savkin
5d53661139
fix(repo): update the repo to nx 10
2020-07-16 16:18:00 -04: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
a7b7af2dfe
feat(core): switch over to angular 10 ( #3056 )
...
* feat(core): switch over to devkit 10-rc.0
* feat(core): implement solution tsconfigs wip
* feat(angular): add angular migrations
* fix(angular): modify angularjs tests
2020-07-07 17:02:06 -04:00
Adam L Barrett
7b27ba4daa
fix(testing): allow jest --bail flag type to be either boolean or number ( #3181 )
2020-06-19 16:20:24 -04:00
Victor Savkin
0111d87575
feat(repo): have separate readmes for all plugins
2020-06-14 23:33:05 -04:00
Victor Savkin
e71ceba4ce
feat(repo): run e2e tests using nx
2020-06-07 23:31:38 -04:00
Victor Savkin
d0cbc35efa
feat(repo): build nx with nx
2020-06-03 16:25:25 -04:00
Jack Hsu
d593153a33
feat(react): refactored babel support so options are more easily customized ( #3089 )
...
This reverts commit 7679df22f5b90d085b5f32f2135d828036ee5aa7.
2020-05-29 02:09:47 -04:00
Will S
3ecf6ea5a9
fix(testing): update maxWorkers jest builder option to support string type ( #3025 )
...
* fix(testing): update maxWorkers jest builder option to support string type
Jest supports both number and string args for the maxWorkers option, per their latest docs. This
updates the options for the jest builder to support both number and string types. Also updates the
docs accordingly.
ISSUES CLOSED : #2871
* fix(testing): fix test expectation missing property
2020-05-23 08:49:44 -04:00
Jason Jean
b42f0a81bf
fix(testing): add coverage as alias of code-coverage ( #3010 )
2020-05-15 10:02:49 -04:00
Ross Knudsen
41572b3afb
feat(testing): added --showConfig CLI option to Jest package ( #2968 )
2020-05-08 13:39:07 -04:00
Benedikt Starzengruber
ac6f52a5a5
feat(testing): add --detectOpenHandles to Jest CLI Options ( #2969 )
2020-05-08 13:26:36 -04:00
Jason Jean
e06822da7e
chore(repo): update prettier to v2 ( #2934 )
...
this is just for the repo, and not the workspace
Co-authored-by: Rares Matei <matei.rar@gmail.com>
2020-04-29 01:09:37 -04:00
Jonathan Cammisuli
7c45f981fe
fix(testing): correct spelling of jest-preset-angular for migrations ( #2818 )
2020-04-06 18:28:20 -04:00
Jason Jean
30a69625d6
fix(testing): add migration for jest to migration.json ( #2786 )
2020-04-01 16:35:08 -04:00
Jonathan Cammisuli
b85b8afe3c
fix(testing): add migration for Jest 25
2020-03-31 13:49:19 -04:00
Brandon Roberts
49d8ce1297
feat(angular): update Angular libraries to version 9.1.0
2020-03-31 11:25:30 -04:00
Jo Hanna Pearce
9ad9b2eb34
feat(testing): add option to use babel-jest rather than ts-jest ( #2722 )
2020-03-30 07:15:33 -04:00
Jonathan Cammisuli
0ad6f91ff8
feat(testing): update Jest and its dependencies to v25
2020-03-29 11:31:20 -04:00
Jason Jean
09c4654ae9
fix(misc): add formatting to all migrations
2020-03-29 11:30:59 -04:00
Jay Bell
a39587a350
feat(nest): implement nest lib schematic ( #2540 )
2020-03-02 11:20:45 -05:00
Derek Pavao
60077fbc29
fix(testing): remove --coverage option from jest builder ( #2569 )
...
the --coverage option was not being used in the builder at all, so provided no change in behavior.
The --codeCoverage option should be used instead
ISSUES CLOSED : #2564
2020-02-27 15:09:16 +00:00
Mathias Remshardt
7aaa09bfff
cleanup(node): moves some schematic helper to shared workspace rules
2020-02-26 20:19:17 -05:00
Jack Hsu
a433035eca
chore(react): update web/react dependencies and clean up npm warnings ( #2547 )
2020-02-25 11:03:58 -05:00
Rares Matei
4b6c8f0927
fix(testing): invalid jest config --passWithNoTests ( #2442 )
...
fix(testing): pass passWithNoTests via builder instead of jest.config.js
ISSUES CLOSED : #2345
2020-02-16 10:56:00 -05:00
Jason Jean
e5db43f92b
fix(misc): loosen dependencies for angular dependencies
2020-02-16 09:59:11 -05:00
Jason Jean
fd0b192161
feat(core): update to devkit 9.0.1
2020-02-07 13:47:54 -05:00
Jason Jean
35e3be2469
feat(angular): update to angular 9.0.0
2020-02-06 15:16:21 -05:00
Jason Jean
3c6d8c67f8
feat(angular): update angular to 9-rc.14 ( #2437 )
2020-02-06 13:01:04 -05:00
Jason Jean
972381bc3f
feat(testing): update to jest-preset-angular v8.0.0 ( #2401 )
...
* 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>
2020-02-01 11:34:31 -05:00
Jason Jean
b6e6b3f1c3
Revert "Revert "feat(core): update to next version of angular deps"" ( #2264 )
...
This reverts commit f816fc424d4b0d850e0a49d0ed8e4a30ddca308c.
2020-01-31 13:08:50 -05:00
Jason Jean
c96bdd44b8
cleanup(testing): cleanup unused method in jest init
2020-01-29 17:43:32 -05:00
Juri
c213ae1a99
fix(misc): update package.json only if needed
...
Adjusts the schematic to only touch the package.json if really required
ISSUES CLOSED : #2317
2020-01-28 21:26:22 -05:00
Jonathan Cammisuli
342ee9db77
chore(misc): update tree-kill package to 1.2.2 ( #2328 )
2020-01-16 19:53:04 -05:00
Juri
7a9d4bde0c
chore(core): update @angular-devkit/* deps to fix browserslist out of date issue
...
see https://github.com/angular/angular-cli/issues/16560
2020-01-15 21:10:42 -05:00
Victor Savkin
f43897978c
Revert "chore(core): update @angular-devkit/* deps to fix browserslist out of date issue"
...
This reverts commit 3780eba421bda7f4755e6c433f1d6eba8fd86104.
2020-01-15 10:20:56 -05:00
Juri
3780eba421
chore(core): update @angular-devkit/* deps to fix browserslist out of date issue
...
see https://github.com/angular/angular-cli/issues/16560
2020-01-15 09:39:01 -05:00
Jonathan Cammisuli
bf56469c0a
fix(testing): set NODE_ENV to 'test' when running jest
2019-12-12 11:32:19 -05:00
Victor Savkin
f816fc424d
Revert "feat(core): update to next version of angular deps"
...
This reverts commit bd230e0530e690b2ae7896a876510f62002943c8.
2019-12-10 08:07:26 -05:00
Jason Jean
bd230e0530
feat(core): update to next version of angular deps
2019-12-08 16:16:33 -05:00