18 lines
369 B
TypeScript
18 lines
369 B
TypeScript
import { resolve } from 'node:path';
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'node',
|
|
include: ['tests/electron-runtime/**/*.test.ts'],
|
|
fileParallelism: false,
|
|
maxWorkers: 1,
|
|
pool: 'threads',
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@electron': resolve(__dirname, 'electron'),
|
|
},
|
|
},
|
|
});
|