Skip to content

Commit 7d0f33c

Browse files
authored
Merge pull request #327 from FrancescoBorzi/e2e-test-mocha-type
fix(e2e): add mocha types
2 parents 80db2e2 + a2971bf commit 7d0f33c

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

e2e/tsconfig.e2e.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"compilerOptions": {
44
"outDir": "../out-tsc/e2e",
55
"module": "es2015",
6-
"types":[]
6+
"types": [
7+
"mocha"
8+
]
79
},
810
"include": [
911
"**/*.ts"

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"@ngx-translate/http-loader": "4.0.0",
5555
"@types/jasmine": "2.8.7",
5656
"@types/jasminewd2": "2.0.3",
57+
"@types/mocha": "^5.2.6",
5758
"@types/node": "8.9.4",
5859
"chai": "^4.2.0",
5960
"codelyzer": "4.5.0",
@@ -71,8 +72,8 @@
7172
"karma-jasmine-html-reporter": "1.4.0",
7273
"mocha": "6.0.2",
7374
"npm-run-all": "4.1.5",
74-
"spectron": "5.0.0",
7575
"rxjs": "6.4.0",
76+
"spectron": "5.0.0",
7677
"ts-node": "7.0.1",
7778
"tslint": "5.11.0",
7879
"typescript": "3.2.4",

tsconfig-serve.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"emitDecoratorMetadata": true,
77
"experimentalDecorators": true,
88
"target": "es5",
9-
"typeRoots": [
10-
"node_modules/@types"
9+
"types": [
10+
"node"
1111
],
1212
"lib": [
1313
"es2017",

0 commit comments

Comments
 (0)