test: fix unit tests in new mono-repo

This commit is contained in:
Alois Klink
2022-09-25 19:18:16 +01:00
parent af2b1945a3
commit 535f555b13

View File

@@ -9,7 +9,8 @@ export default defineConfig({
test: { test: {
environment: 'jsdom', environment: 'jsdom',
globals: true, globals: true,
setupFiles: ['src/tests/setup.ts'], // TODO: should we move this to a mermaid-core package?
setupFiles: ['packages/mermaid/src/tests/setup.ts'],
coverage: { coverage: {
reporter: ['text', 'json', 'html', 'lcov'], reporter: ['text', 'json', 'html', 'lcov'],
}, },