Nuxt/vitest.config.ts
renovate[bot] aa26c6cdb1
chore(deps): update all non-major dependencies (#4302)
* chore(deps): update all non-major dependencies

* upda lockfile

* test: disable bridge test

* increase windows test timeout

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-04-12 20:36:39 +02:00

17 lines
378 B
TypeScript

import { resolve } from 'path'
import { defineConfig } from 'vite'
import { isWindows } from 'std-env'
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: isWindows ? 60000 : 10000
}
})