enso/app/ide-desktop/lib/dashboard/vitest.config.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
426 B
TypeScript
Raw Normal View History

/** @file Configuration for vitest. */
import * as url from 'node:url'
import * as vitestConfig from 'vitest/config'
import viteConfig from './vite.config'
export default vitestConfig.mergeConfig(
viteConfig,
vitestConfig.defineConfig({
test: {
environment: 'jsdom',
exclude: ['**/*.spec.{ts,tsx}'],
root: url.fileURLToPath(new URL('./', import.meta.url)),
restoreMocks: true,
},
})
)