fix: Add clearMocks in vitest

This commit is contained in:
Sidharth Vinod
2025-02-21 23:44:09 +05:30
parent c22b5701db
commit 225e5dde60

View File

@@ -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