Skip to content

Commit edf9975

Browse files
chore: add @nrwl/angular plugin
1 parent 9a12517 commit edf9975

File tree

5 files changed

+10919
-4092
lines changed

5 files changed

+10919
-4092
lines changed

angular.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
"version": 1,
33
"projects": {},
44
"cli": {
5-
"defaultCollection": "@nrwl/workspace"
5+
"defaultCollection": "@nrwl/angular"
6+
},
7+
"schematics": {
8+
"@nrwl/angular:application": {
9+
"unitTestRunner": "jest",
10+
"e2eTestRunner": "cypress"
11+
},
12+
"@nrwl/angular:library": {
13+
"unitTestRunner": "jest"
14+
}
615
}
716
}

jest.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = {
2+
testMatch: ['**/+(*.)+(spec|test).+(ts|js)?(x)'],
3+
transform: {
4+
'^.+\\.(ts|js|html)$': 'ts-jest',
5+
},
6+
resolver: '@nrwl/jest/plugins/resolver',
7+
moduleFileExtensions: ['ts', 'js', 'html'],
8+
coverageReporters: ['html'],
9+
};

0 commit comments

Comments
 (0)