mirror of
https://github.com/enso-org/enso.git
synced 2024-12-21 15:11:37 +03:00
5f1333a519
This makes it consistent with the indentation style of GUI2. # Important Notes - This commit *will* need to be added to [`.git-blame-ignore-revs`](https://github.com/enso-org/enso/blob/develop/.git-blame-ignore-revs) *after* it is merged. - This shouldn't need any particular QA (although QA doesn't hurt), as the only thing that was done is a `npx prettier -w .`, meaning that there should be zero logic changes.
19 lines
426 B
TypeScript
19 lines
426 B
TypeScript
/** @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,
|
|
},
|
|
})
|
|
)
|