d3ro-voice/apps/web/vitest.config.ts
Yun Chan e0b1ceaa75 chore(deps): upgrade to Electron 43, Vite 8, Vitest 5 and pin Node 24
Electron 33.4.11 -> 43.8.10, electron-vite 6, Vite 8.3.8, Vitest 5.1.0, Node engines 24.x.
Electron 43 made clipboard text read/write asynchronous, so text insertion, selected-text
capture and the popup copy channel now await it; includes the async restore regression test.
Evidence: docs/evidence/2026-11-17-backlog-operations.md (GAP-SEC-01).
2026-11-20 15:16:08 +09:00

20 lines
392 B
TypeScript

import path from 'node:path'
import { defineConfig } from 'vitest/config'
export default defineConfig({
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
oxc: {
jsx: { runtime: 'automatic' },
},
test: {
globals: false,
environment: 'node',
include: ['tests/**/*.test.{ts,tsx}'],
exclude: ['e2e/**'],
testTimeout: 10000,
},
})