Test screen logic under happy-dom so filter and error-code mistakes fail in CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-20 01:05:47 +03:00
co-authored by Cursor
parent edd3d35c79
commit 840b8fd234
10 changed files with 832 additions and 11 deletions
+4 -1
View File
@@ -1,4 +1,4 @@
import { defineConfig } from 'vite';
import { defineConfig } from 'vitest/config';
// Aspire injects SERVER_HTTP / SERVER_HTTPS from the `server` resource reference,
// so the dev server proxies to whatever port the backend actually got.
@@ -24,4 +24,7 @@ export default defineConfig({
target: 'es2022',
sourcemap: true,
},
test: {
environment: 'node',
},
});