Skip to content

Commit

Permalink
Add jest testing setup to library
Browse files Browse the repository at this point in the history
  • Loading branch information
joerideg committed Nov 2, 2023
1 parent f2b7037 commit 3e21643
Show file tree
Hide file tree
Showing 9 changed files with 9,167 additions and 5,469 deletions.
1 change: 1 addition & 0 deletions brx-spartacus-library/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/dist
/coverage
/node_modules
6 changes: 6 additions & 0 deletions brx-spartacus-library/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-builders/jest:run",
"options": {
"tsConfig": "./tsconfig.spec.json"
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
Expand Down
3 changes: 3 additions & 0 deletions brx-spartacus-library/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Put any jest config in here
module.exports = {
};
Loading

0 comments on commit 3e21643

Please sign in to comment.