chore: use @angular-builders/jest

This commit is contained in:
4gray committed 2023-11-09 10:01:02 +01:00
1 parent 8087e42827
commit 56f2d148cf
4 files changed
+216 -384

No files matched your search

+2 -5
View File
@@ -116,11 +116,8 @@
}
},
"test": {
"builder": "@angular-devkit/build-angular:jest",
"options": {
"tsConfig": "tsconfig.spec.json",
"polyfills": ["zone.js", "zone.js/testing"]
}
"builder": "@angular-builders/jest:run",
"options": {}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
-8
View File
@@ -1,8 +0,0 @@
module.exports = {
preset: 'jest-preset-angular',
resetMocks: true,
setupFilesAfterEnv: ['<rootDir>/src/setup-jest.ts'],
testMatch: ['**/+(*.)+(spec).+(ts)?(x)'],
coverageReporters: ['html', 'lcov'],
transformIgnorePatterns: ['node_modules/(?!.*.mjs$|@datorama/akita)'],
};
+213 -371
View File
File diff suppressed because it is too large. Load diff
+1
View File
@@ -51,6 +51,7 @@
"build-pwa": "ng build -c production --base-href /iptvnator --deploy-url /iptvnator/"
},
"dependencies": {
"@angular-builders/jest": "16.0.1",
"@angular/animations": "16.1.5",
"@angular/cdk": "16.1.5",
"@angular/material": "16.1.5",