Merge pull request #327 from FrancescoBorzi/e2e-test-mocha-type

fix(e2e): add mocha types
This commit is contained in:
Maxime GRIS
2019-04-16 11:40:59 +02:00
committed by GitHub
3 changed files with 7 additions and 4 deletions

View File

@@ -3,7 +3,9 @@
"compilerOptions": { "compilerOptions": {
"outDir": "../out-tsc/e2e", "outDir": "../out-tsc/e2e",
"module": "es2015", "module": "es2015",
"types":[] "types": [
"mocha"
]
}, },
"include": [ "include": [
"**/*.ts" "**/*.ts"

View File

@@ -54,6 +54,7 @@
"@ngx-translate/http-loader": "4.0.0", "@ngx-translate/http-loader": "4.0.0",
"@types/jasmine": "2.8.7", "@types/jasmine": "2.8.7",
"@types/jasminewd2": "2.0.3", "@types/jasminewd2": "2.0.3",
"@types/mocha": "^5.2.6",
"@types/node": "8.9.4", "@types/node": "8.9.4",
"chai": "^4.2.0", "chai": "^4.2.0",
"codelyzer": "4.5.0", "codelyzer": "4.5.0",
@@ -71,8 +72,8 @@
"karma-jasmine-html-reporter": "1.4.0", "karma-jasmine-html-reporter": "1.4.0",
"mocha": "6.0.2", "mocha": "6.0.2",
"npm-run-all": "4.1.5", "npm-run-all": "4.1.5",
"spectron": "5.0.0",
"rxjs": "6.4.0", "rxjs": "6.4.0",
"spectron": "5.0.0",
"ts-node": "7.0.1", "ts-node": "7.0.1",
"tslint": "5.11.0", "tslint": "5.11.0",
"typescript": "3.2.4", "typescript": "3.2.4",

View File

@@ -6,8 +6,8 @@
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"target": "es5", "target": "es5",
"typeRoots": [ "types": [
"node_modules/@types" "node"
], ],
"lib": [ "lib": [
"es2017", "es2017",