mirror of
https://github.com/enso-org/enso.git
synced 2024-12-22 18:01:38 +03:00
b286adaae4
# Important Notes The command to run the gui dev environment has been changed. Invoking the old command will print a message about that. From now on, use `pnpm dev:gui2` in repository root.
19 lines
592 B
TypeScript
19 lines
592 B
TypeScript
import { fileURLToPath } from 'node:url'
|
|
import { configDefaults, defineConfig, mergeConfig } from 'vitest/config'
|
|
import viteConfig from './vite.config'
|
|
|
|
const config = mergeConfig(
|
|
viteConfig,
|
|
defineConfig({
|
|
test: {
|
|
environment: 'jsdom',
|
|
includeSource: ['./{src,shared,ydoc-server}/**/*.{ts,vue}'],
|
|
exclude: [...configDefaults.exclude, 'e2e/*'],
|
|
root: fileURLToPath(new URL('./', import.meta.url)),
|
|
restoreMocks: true,
|
|
},
|
|
}),
|
|
)
|
|
config.esbuild.dropLabels = config.esbuild.dropLabels.filter((label: string) => label != 'DEV')
|
|
export default config
|