test(page-controller): add happy-dom env and basic tests

This commit is contained in:
Simon
2026-06-11 21:10:05 +08:00
parent e65c7c9601
commit 56c09a9ae9
4 changed files with 129 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
name: 'page-controller',
environment: 'happy-dom',
include: ['src/**/*.test.ts'],
silent: 'passed-only',
},
})