Movatterモバイル変換


[0]ホーム

URL:


Wayback Machine
6 captures
09 Feb 2023 - 08 Sep 2025
JanFEBMar
12
202220232024
success
fail
COLLECTED BY
TIMESTAMPS
loading
The Wayback Machine - http://web.archive.org/web/20230212000736/https://github.com/nuxt/nuxt/blob/main/vitest.config.ts
Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

nuxt/vitest.config.ts/
Jump to
Code definitions
Code navigation index up-to-date

Go to file
  • Go to file
  • Copy path
  • Copy permalink
 
 
Cannot retrieve contributors at this time
import{resolve}from'node:path'
import{defineConfig}from'vite'
import{configDefaults}from'vitest/config'
import{isWindows}from'std-env'
exportdefaultdefineConfig({
resolve:{
alias:{
'#app':resolve('./packages/nuxt/src/app/index.ts'),
'@nuxt/test-utils':resolve('./packages/test-utils/src/index.ts')
}
},
esbuild:{
tsconfigRaw:'{}'
},
test:{
globalSetup:'test/setup.ts',
testTimeout:isWindows ?60000 :10000,
deps:{inline:['@vitejs/plugin-vue']},
// Excluded plugin because it should throw an error when accidentally loaded via Nuxt
exclude:[...configDefaults.exclude,'**/this-should-not-load.spec.js'],
maxThreads:process.env.NUXT_TEST_DEV ?1 :undefined,
minThreads:process.env.NUXT_TEST_DEV ?1 :undefined
}
})

[8]ページ先頭

©2009-2025 Movatter.jp