Skip to content

Commit

Permalink
add jest
Browse files Browse the repository at this point in the history
  • Loading branch information
larscom committed Dec 28, 2023
1 parent f17cd40 commit db8a873
Show file tree
Hide file tree
Showing 12 changed files with 7,879 additions and 4,569 deletions.
19 changes: 8 additions & 11 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,12 @@
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"builder": "@angular-builders/jest:run",
"options": {
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["@angular/material/prebuilt-themes/indigo-pink.css", "src/styles.scss"],
"scripts": []
"polyfills": ["zone.js", "zone.js/testing"],
"include": ["src/**/*.spec.ts"],
"coverage": true
}
}
}
Expand All @@ -104,13 +102,12 @@
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"builder": "@angular-builders/jest:run",
"options": {
"tsConfig": "tsconfig.spec.json",
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "projects/ngrx-store-storagesync/tsconfig.spec.json",
"karmaConfig": "projects/ngrx-store-storagesync/karma.conf.js",
"codeCoverageExclude": ["projects/ngrx-store-storagesync/src/lib/mock-storage.ts"],
"inlineStyleLanguage": "scss"
"include": ["src/**/*.spec.ts"],
"coverage": true
}
}
}
Expand Down
46 changes: 0 additions & 46 deletions karma.conf.js

This file was deleted.

Loading

0 comments on commit db8a873

Please sign in to comment.