Add tests

This commit is contained in:
zachd
2025-11-10 00:36:51 +01:00
parent ef6a167431
commit 2b40c2cc88
4 changed files with 1922 additions and 111 deletions

View File

@@ -2,5 +2,10 @@ import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit()]
plugins: [sveltekit()],
test: {
globals: true,
environment: 'node',
include: ['src/**/*.{test,spec}.{js,ts}']
}
});