mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
chore: use @angular-builders/jest
This commit is contained in:
1 parent
8087e42827
commit
56f2d148cf
4 files changed
+216
-384
No files matched your search
+2
-5
@@ -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",
|
||||
|
||||
@@ -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)'],
|
||||
};
|
||||
Generated
+213
-371
File diff suppressed because it is too large.
Load diff
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user