Skip to content

Commit 14d1888

Browse files
committed
Remove threshold coverage for web-unit-tests
Signed-off-by: nagesh bansal <[email protected]>
1 parent 520e0e8 commit 14d1888

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
- uses: actions/setup-node@v3
111111
with:
112112
node-version: 16
113-
- name: Chaos-center web unit tests
113+
- name: Chaoscenter web unit tests
114114
shell: bash
115115
run: |
116116
cd chaoscenter

chaoscenter/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ web-unit-tests:
110110
@echo "------------------"
111111
@echo "--> Running frontend unit tests"
112112
@echo "------------------"
113-
@cd web && yarn test
113+
@cd web && yarn -s && yarn test --coverage
114114

115115
.PHONY: docker.buildx
116116
docker.buildx:

chaoscenter/web/jest.config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ module.exports = {
4848
'!<rootDir>/src/images/**'
4949
],
5050
coverageThreshold: {
51-
global: {
52-
branches: 90,
53-
functions: 90,
54-
lines: 90,
55-
statements: 90
56-
}
51+
// global: {
52+
// branches: 90,
53+
// functions: 90,
54+
// lines: 90,
55+
// statements: 90
56+
// }
5757
},
5858
testResultsProcessor: 'jest-sonar-reporter'
5959
};

0 commit comments

Comments
 (0)