15 lines
275 B
JavaScript
15 lines
275 B
JavaScript
|
import { fileURLToPath, URL } from 'url'
|
||
|
import { defineConfig } from 'vitest/config'
|
||
|
|
||
|
export default defineConfig({
|
||
|
test: {
|
||
|
globals: true,
|
||
|
environment: 'jsdom'
|
||
|
},
|
||
|
resolve: {
|
||
|
alias: {
|
||
|
'~': fileURLToPath(new URL('./src', import.meta.url))
|
||
|
}
|
||
|
}
|
||
|
})
|