Skip to content
Snippets Groups Projects
Commit 5f672fcd authored by Albin Henriksson's avatar Albin Henriksson
Browse files

Fix client test job

parent ea9a2c12
No related branches found
No related tags found
1 merge request!131Resolve "Increase client test coverage"
Pipeline #44399 passed with warnings
This commit is part of merge request !131. Comments created here will be created in the context of that merge request.
......@@ -46,7 +46,7 @@ client:test:
- merge_requests
script:
- cd client
- npm run test:coverage
- npm run unit-test:coverage
coverage: /All files\s*\|\s*([\d\.]+)/
artifacts:
paths:
......
......@@ -71,7 +71,7 @@
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint \"./src/**/*.{ts,tsx}\"",
"test:coverage": "react-scripts test --coverage --coverageDirectory=output/coverage/jest",
"unit-test:coverage": "react-scripts test --coverage --testPathIgnorePatterns=src/e2e --coverageDirectory=output/coverage/jest",
"unit-test:coverage:html": "npm test -- --testPathIgnorePatterns=src/e2e --coverage --watchAll=false --coverageDirectory=output/coverage/jest",
"e2e-test": "npm test -- --testPathPattern=src/e2e"
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment