fix of npm run unit, plus begin able to test code that uses promises.

This commit is contained in:
Niels Lyngsø
2020-06-19 09:41:19 +02:00
parent 3b2d87950c
commit 3781182363
3 changed files with 18 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
"private": true,
"scripts": {
"test": "gulp runTests",
"unit": "gulp testUnit",
"unit": "gulp runUnit",
"e2e": "gulp testE2e",
"build": "gulp build",
"dev": "gulp dev",
@@ -39,7 +39,7 @@
"moment": "2.22.2",
"ng-file-upload": "12.2.13",
"nouislider": "14.1.1",
"npm": "6.13.6",
"npm": "^6.14.0",
"signalr": "2.4.0",
"spectrum-colorpicker": "1.8.0",
"tinymce": "4.9.10",
@@ -71,7 +71,9 @@
"gulp-wrap": "0.15.0",
"gulp-wrap-js": "0.4.1",
"jasmine-core": "3.5.0",
"jasmine-promise-matchers": "^2.6.0",
"karma": "4.4.1",
"karma-chrome-launcher": "^3.1.0",
"karma-jasmine": "2.0.1",
"karma-junit-reporter": "2.0.1",
"karma-phantomjs-launcher": "1.0.4",