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:
parent
69c06bc756
commit
8f0f9d7aaa
6 changed files with 13 additions and 35 deletions
|
@ -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'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue