Files
2026-04-30 00:57:24 +02:00

17 lines
583 B
TypeScript

import { defineConfig } from 'vitest/config';
import { fileURLToPath, URL } from 'node:url';
export default defineConfig({
resolve: {
alias: {
'gi://GLib': fileURLToPath(new URL('./tests/mocks/GLib.ts', import.meta.url)),
'gi://Gio': fileURLToPath(new URL('./tests/mocks/Gio.ts', import.meta.url)),
'gi://GObject': fileURLToPath(new URL('./tests/mocks/GObject.ts', import.meta.url)),
},
},
test: {
environment: 'node',
include: ['tests/unit/**/*.test.ts', 'tests/integration/**/*.test.ts'],
},
});