diff --git a/frontend/angular.json b/frontend/angular.json index 61b5bc0e6..d1f77303c 100644 --- a/frontend/angular.json +++ b/frontend/angular.json @@ -170,6 +170,9 @@ "defaultConfiguration": "development" }, "test": { + "builder": "@angular/build:unit-test" + }, + "test_ci": { "builder": "@angular/build:unit-test", "options": { "runnerConfig": true diff --git a/frontend/package.json b/frontend/package.json index f51d655b1..6e3621674 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -8,7 +8,7 @@ "ng": "ng", "start": "ng serve", "test": "ng test", - "test:coverage": "ng test --no-watch", + "test:coverage": "ng run squidex:test_ci --no-watch", "watch": "ng build --watch --configuration development", "storybook": "ng run squidex:storybook", "storybook-build": "ng run squidex:build-storybook",