formation 2 лет назад
Родитель
Сommit
f257443103
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      angular-client/package.json
  2. 1 1
      angular-client/src/test.ts

+ 2 - 2
angular-client/package.json

@@ -51,7 +51,7 @@
     "codelyzer": "^0.0.28",
     "jasmine-core": "~3.5.0",
     "jasmine-spec-reporter": "~4.2.1",
-    "karma": "^6.4.1",
+    "karma": "^5.1.1",
     "karma-chai": "^0.1.0",
     "karma-chrome-launcher": "^3.1.0",
     "karma-coverage-istanbul-reporter": "~2.1.0",
@@ -59,7 +59,7 @@
     "karma-jasmine-html-reporter": "^1.4.2",
     "karma-junit-reporter": "^2.0.1",
     "karma-mocha": "^2.0.1",
-    "mocha": "^10.2.0",
+    "mocha": "^8.1.1",
     "protractor": "~5.4.3",
     "puppeteer": "^5.2.1",
     "ts-node": "~8.3.0",

+ 1 - 1
angular-client/src/test.ts

@@ -1,6 +1,6 @@
 // This file is required by karma.conf.js and loads recursively all the .spec and framework files
 
-import 'zone.js/testing';
+import 'zone.js/dist/zone-testing';
 import { getTestBed } from '@angular/core/testing';
 import {
   BrowserDynamicTestingModule,