Skip to content

Commit

Permalink
Switch Frontend Testing to use Jest (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenjohanson authored Nov 26, 2024
1 parent 14a6c5d commit e40c370
Show file tree
Hide file tree
Showing 18 changed files with 9,206 additions and 5,905 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: npm --prefix teammapper-frontend ci
- run: npm --prefix teammapper-frontend run test -- --progress=false --watch=false --code-coverage --source-map=false
- run: npm --prefix teammapper-frontend run test
16 changes: 2 additions & 14 deletions teammapper-frontend/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,21 +100,9 @@
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"builder": "@angular-builders/jest:run",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.scss"
],
"scripts": []
"tsConfig": "src/tsconfig.spec.json"
}
},
"lint": {
Expand Down
55 changes: 0 additions & 55 deletions teammapper-frontend/karma.conf.js

This file was deleted.

Loading

0 comments on commit e40c370

Please sign in to comment.