Files
6c0413e39b Start 2.0 development
Co-authored-by: Anthony <anthony@infraly.co>
Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
2026-10-05 18:10:18 -04:00

19 lines
545 B
TypeScript

import { defineConfig } from 'vitest/config';
import { pterodactylTestAliases, pterodactylTestSetup } from '../sdk/vitest.mjs';
import { fileURLToPath } from 'node:url';
export default defineConfig({
root: fileURLToPath(new URL('.', import.meta.url)),
resolve: {
alias: pterodactylTestAliases(),
},
test: {
name: 'hello-world',
environment: 'jsdom',
setupFiles: [pterodactylTestSetup],
include: ['src/**/*.spec.{ts,tsx}'],
clearMocks: true,
restoreMocks: true,
},
});