Kick off (#1)

* Kick off
* Update LICENSE copyright
This commit is contained in:
2026-04-11 13:22:36 +02:00
committed by GitHub
parent 1f1e74c9f8
commit 3882a1941a
76 changed files with 17154 additions and 1 deletions

22
vitest.config.ts Normal file
View File

@@ -0,0 +1,22 @@
import { defineConfig } from 'vitest/config';
export default defineConfig({
plugins: [
{
name: 'mock-astro-ssr',
resolveId(id: string) {
// Allow vi.mock to intercept the Astro SSR build artifact that doesn't exist during tests
if (id.includes('status-page/dist/_worker.js/index.js')) {
return id;
}
return null;
},
},
],
test: {
globals: true,
environment: 'node',
include: ['src/**/*.test.ts'],
},
});