mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-08-17 03:27:00 +08:00
18 lines
363 B
TypeScript
18 lines
363 B
TypeScript
import { resolve } from 'path'
|
|
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@renderer': resolve(__dirname, 'src/renderer/src')
|
|
}
|
|
},
|
|
test: {
|
|
name: 'integration',
|
|
environment: 'node',
|
|
include: ['tests/integration/**/*.test.ts'],
|
|
clearMocks: true,
|
|
restoreMocks: true
|
|
}
|
|
})
|