diff --git a/.gitlab/client.gitlab-ci.yml b/.gitlab/client.gitlab-ci.yml index f35e73aa6da4b396dda7ca7b5847b83158078a41..a64f1bd85c1bba81556cc1f8fb8052cf14ac40cd 100644 --- a/.gitlab/client.gitlab-ci.yml +++ b/.gitlab/client.gitlab-ci.yml @@ -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: diff --git a/client/package.json b/client/package.json index d6d95ccc69636e8d3e5d1c8b87ca3aacc3abb871..7426424b33775f3845151df9163b10cd94f6f494 100644 --- a/client/package.json +++ b/client/package.json @@ -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" },