memlnaut-nisps/playwright-solidjs.config.ts
monkey-w1n5t0n 7337e8eaed feat(solidjs): set up Vite + SolidJS project with WASM inference
- Vite config with COOP/COEP headers for SharedArrayBuffer
- SolidJS app renders at root URL without JS errors
- WASM ML engine loads and inference returns 126 bounded [0,1] outputs
- Debug probe (window.__nisps) exposed only with ?debug=1
- TypeScript strict mode with complete type coverage
- Playwright e2e tests (8 tests) for VAL-PROJ-001/002/003
- WasmIML TypeScript port from playground/js/nisps/nisps-wasm.js
- Dataset TypeScript port with FIFO ring buffer and sample weighting

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
2026-04-07 16:17:08 +02:00

23 lines
534 B
TypeScript

import { defineConfig } from '@playwright/test';
export default defineConfig({
testDir: './tests/solidjs',
timeout: 30_000,
expect: { timeout: 10_000 },
fullyParallel: true,
use: {
baseURL: 'http://localhost:5174',
headless: true,
ignoreHTTPSErrors: true,
},
webServer: {
command: 'npx vite --port 5174',
url: 'http://localhost:5174',
reuseExistingServer: true,
timeout: 15_000,
},
projects: [
{ name: 'chromium', use: { browserName: 'chromium' } },
],
reporter: [['list']],
});