feat(test): add testing infrastructure: karma, jasmine and chrome (#982)

This commit is contained in:
Deilan 2017-04-17 16:05:45 +03:00 committed by Lex Zhukov
parent b95abbd48d
commit 4420048bfe
9 changed files with 1389 additions and 56 deletions

View file

@ -59,6 +59,7 @@
"@types/electron": "1.4.35",
"@types/fullcalendar": "2.7.40",
"@types/hammerjs": "2.0.34",
"@types/jasmine": "2.5.47",
"@types/jquery": "2.0.41",
"@types/jquery.slimscroll": "1.3.30",
"@types/lodash": "4.14.61",
@ -87,7 +88,17 @@
"gh-pages": "0.12.0",
"html-webpack-plugin": "2.28.0",
"imports-loader": "0.7.1",
"istanbul-instrumenter-loader": "2.0.0",
"jasmine-core": "2.5.2",
"json-loader": "0.5.4",
"karma": "1.6.0",
"karma-chrome-launcher": "2.0.0",
"karma-coverage": "1.1.1",
"karma-jasmine": "1.1.0",
"karma-mocha-reporter": "2.2.3",
"karma-remap-coverage": "0.1.4",
"karma-sourcemap-loader": "0.3.7",
"karma-webpack": "2.0.3",
"ng-router-loader": "2.1.0",
"ngc-webpack": "1.2.0",
"node-sass": "4.5.2",
@ -105,6 +116,7 @@
"to-string-loader": "1.1.5",
"ts-helpers": "1.1.2",
"ts-node": "3.0.2",
"tslib": "1.6.0",
"tslint": "4.5.1",
"typedoc": "0.5.10",
"typescript": "2.2.2",
@ -120,6 +132,8 @@
"wintersmith-sassy": "1.1.0"
},
"scripts": {
"karma": "karma",
"test": "karma start",
"rimraf": "rimraf",
"tslint": "tslint",
"typedoc": "typedoc",