Skip to content

Commit

Permalink
feat(build): lint e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tomastrajan committed May 2, 2018
1 parent 0f2b10c commit fe55a82
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
"src/tsconfig.spec.json",
"e2e/tsconfig.e2e.json"
],
"exclude": [
"**/node_modules/**"
Expand Down
2 changes: 1 addition & 1 deletion e2e/src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser, by, element } from 'protractor';
import { browser } from 'protractor';

export const getCurrentRouteUrl = () =>
browser.getCurrentUrl().then(url => url.substr(url.lastIndexOf('/') + 1));
1 change: 1 addition & 0 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"no-trailing-whitespace": true,
"no-unnecessary-initializer": true,
"no-unused-expression": true,
"no-unused-variable": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"object-literal-sort-keys": false,
Expand Down

0 comments on commit fe55a82

Please sign in to comment.