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:
44
55- clone or download the repository
66- 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
88
99The tests in this repository are written with [ Jest] ( https://jestjs.io/ ) , but you can use the test runner of your choice.
1010
Original file line number Diff line number Diff line change @@ -14,12 +14,14 @@ module.exports = {
1414 ] ,
1515 globals : {
1616 'ts-jest' : {
17- tsConfig : '<rootDir>/tsconfig.spec.json' ,
17+ tsconfig : '<rootDir>/tsconfig.spec.json' ,
1818 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+ } ,
2325 } ,
2426 } ,
2527} ;
You can’t perform that action at this time.
0 commit comments