Nuxt/vitest.config.ts

16 lines
322 B
TypeScript
Raw Normal View History

import { resolve } from 'path'
import { defineConfig } from 'vite'
export default defineConfig({
alias: {
'#app': resolve('./packages/nuxt3/src/app/index.ts'),
'@nuxt/test-utils': resolve('./packages/test-utils/src/index.ts')
},
esbuild: {
tsconfigRaw: '{}'
},
test: {
testTimeout: 10000
}
})