chore: Spectron for e2e tests

This commit is contained in:
Artem Vasiliev
2019-03-01 15:07:37 +03:00
parent 3b9b80822f
commit 901438aab4
8 changed files with 79 additions and 77 deletions

View File

@@ -34,10 +34,9 @@
"electron:windows": "npm run build:prod && electron-builder build --windows",
"electron:mac": "npm run build:prod && electron-builder build --mac",
"test": "npm run postinstall:web && ng test",
"e2e": "npm run postinstall:web && ng e2e",
"e2e": "npm run build:prod && mocha --timeout 300000 --require ts-node/register e2e/**/*.spec.ts",
"version": "conventional-changelog -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"
},
"dependencies": {},
"devDependencies": {
"@angular-devkit/build-angular": "0.12.1",
"@angular/cli": "7.2.1",
@@ -56,6 +55,7 @@
"@types/jasmine": "2.8.7",
"@types/jasminewd2": "2.0.3",
"@types/node": "8.9.4",
"chai": "^4.2.0",
"codelyzer": "4.5.0",
"conventional-changelog-cli": "2.0.11",
"core-js": "2.6.1",
@@ -69,9 +69,10 @@
"karma-coverage-istanbul-reporter": "2.0.4",
"karma-jasmine": "2.0.1",
"karma-jasmine-html-reporter": "1.4.0",
"mocha": "^6.0.2",
"npm-run-all": "4.1.5",
"protractor": "5.4.1",
"rxjs": "6.3.3",
"spectron": "^5.0.0",
"ts-node": "7.0.1",
"tslint": "5.11.0",
"typescript": "3.2.2",