9 lines
327 B
TypeScript
9 lines
327 B
TypeScript
import { fileURLToPath } from 'node:url'
|
|
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
// Nuxt's "~" is the app folder, so tests can run the editor's composable too.
|
|
resolve: { alias: { '~': fileURLToPath(new URL('./app', import.meta.url)) } },
|
|
test: { include: ['tests/**/*.test.ts'] },
|
|
})
|