1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-03 04:45:21 +02:00

fix(ui): stub unused modules [EE-6583] (#11006)

This commit is contained in:
Chaim Lev-Ari 2024-01-23 15:22:56 +02:00 committed by GitHub
parent 69c06bc756
commit 8f0f9d7aaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 13 additions and 35 deletions

View file

@ -7,10 +7,7 @@ export default defineConfig({
test: {
globals: true,
environment: 'jsdom',
setupFiles: [
'./app/setup-tests/global-setup.js',
'./app/setup-tests/setup-msw.ts',
],
setupFiles: ['./app/setup-tests/setup-msw.ts', './app/setup-tests/stub-modules.ts'],
coverage: {
reporter: ['text', 'html'],
exclude: ['node_modules/', 'app/setup-tests/global-setup.js'],