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