File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
apps/example-app/app/examples Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Follow these three steps to run the example tests:
4
4
5
5
- clone or download the repository
6
6
- move into the repository and install the needed dependencies with ` npm install `
7
- - use the command ` npm run test: app` from within the root of this repository to run the tests
7
+ - use the command ` npx nx test example- app` from within the root of this repository to run the tests
8
8
9
9
The tests in this repository are written with [ Jest] ( https://jestjs.io/ ) , but you can use the test runner of your choice.
10
10
Original file line number Diff line number Diff line change @@ -14,12 +14,14 @@ module.exports = {
14
14
] ,
15
15
globals : {
16
16
'ts-jest' : {
17
- tsConfig : '<rootDir>/tsconfig.spec.json' ,
17
+ tsconfig : '<rootDir>/tsconfig.spec.json' ,
18
18
stringifyContentPathRegex : '\\.(html|svg)$' ,
19
- astTransformers : [
20
- 'jest-preset-angular/build/InlineFilesTransformer' ,
21
- 'jest-preset-angular/build/StripStylesTransformer' ,
22
- ] ,
19
+ astTransformers : {
20
+ before : [
21
+ 'jest-preset-angular/build/InlineFilesTransformer' ,
22
+ 'jest-preset-angular/build/StripStylesTransformer' ,
23
+ ]
24
+ } ,
23
25
} ,
24
26
} ,
25
27
} ;
You can’t perform that action at this time.
0 commit comments