Skip to content

Commit

Permalink
chore: check for focused tests in e2e application (#3159)
Browse files Browse the repository at this point in the history
TSLint rule was in place, but not activated, because `tsconfig.spec.json` for e2e tests wasn't taken into account.
  • Loading branch information
maxokorokov committed Apr 30, 2019
1 parent 0e54eef commit 8ba2228
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion angular.json
Expand Up @@ -202,7 +202,8 @@
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"e2e-app/tsconfig.json"
"e2e-app/tsconfig.json",
"e2e-app/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
Expand Down
7 changes: 5 additions & 2 deletions e2e-app/tsconfig.spec.json
Expand Up @@ -9,5 +9,8 @@
"jasminewd2",
"node"
]
}
}
},
"include": [
"**/*.e2e-spec.ts"
]
}

0 comments on commit 8ba2228

Please sign in to comment.