From 4aa734096a50af98e6593dec070deb9f3aeedfb3 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Sun, 12 Mar 2023 11:01:14 +0100 Subject: [PATCH] Fixing karma test #587 --- angular.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/angular.json b/angular.json index 5f6166e6..01895f10 100644 --- a/angular.json +++ b/angular.json @@ -179,9 +179,11 @@ "test": { "builder": "@angular-builders/custom-webpack:karma", "options": { - "main": "src/frontend/test.ts", "karmaConfig": "./karma.conf.js", - "polyfills": "src/frontend/polyfills.ts", + "polyfills": [ + "src/frontend/polyfills.ts", + "zone.js/testing" + ], "tsConfig": "src/frontend/tsconfig.spec.json", "scripts": [], "styles": [