Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions frontend/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,7 @@
"test": {
"builder": "@angular-builders/jest:run",
"options": {
"tsConfig": "tsconfig.spec.json",
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.scss"],
"scripts": []
"tsConfig": "tsconfig.spec.json"
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion frontend/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
// jest-preset-angular@16 dropped the legacy ngcc `globalSetup` entry; the
// preset alone is sufficient for ivy-only projects (Angular 14+).
preset: 'jest-preset-angular',
globalSetup: 'jest-preset-angular/global-setup',
passWithNoTests: true,
};
Loading
Loading