mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-14 22:09:29 +02:00
fix: Add clearMocks in vitest
This commit is contained in:
@@ -24,6 +24,7 @@ export default defineConfig({
|
||||
exclude: [...defaultExclude, './tests/**', '**/__mocks__/**', '**/generated/'],
|
||||
},
|
||||
includeSource: ['packages/*/src/**/*.{js,ts}'],
|
||||
clearMocks: true,
|
||||
},
|
||||
build: {
|
||||
/** If you set esmExternals to true, this plugins assumes that
|
||||
|
Reference in New Issue
Block a user