diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6a320c96b..004efa6cd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -276,9 +276,6 @@ test_front: needs: - job: lint_front rules: - # Disabled for now since no vitest dom emulation is providing - # AudioContext, which is required for our HTML audio player - - when: never - if: $CI_COMMIT_BRANCH =~ /(stable|develop)/ - changes: [front/**/*] diff --git a/front/package.json b/front/package.json index fa857cba2..dd62d71a8 100644 --- a/front/package.json +++ b/front/package.json @@ -10,7 +10,7 @@ "build:deployment": "vite build", "serve": "vite preview", "test": "vitest run", - "test:unit": "vitest run", + "test:unit": "vitest run --coverage", "lint": "eslint --ext .ts,.js,.vue,.json,.html src test public/embed.html", "lint:tsc": "vue-tsc --noEmit", "fix-fomantic-css": "scripts/fix-fomantic-css.sh",