Nuxt/vitest.config.ts
pooya parsa 2cc3aaba5f
chore(ci): enable testing fixtures in development (#3755)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-04-07 21:15:30 +02:00

16 lines
322 B
TypeScript

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
}
})