From 389fb3a592832092835da0c2cc1608a57ba5f629 Mon Sep 17 00:00:00 2001 From: LalleSX Date: Sat, 24 Oct 2026 14:18:00 +0200 Subject: Add tests for math rendering and interactive scenes; update navigation and viewport handling - Updated `lab.spec.ts` to navigate directly to the field lesson. - Created `math.spec.ts` with tests for math rendering, error checking, and responsive design. - Added `test4.spec.ts` for interactive scenes, ensuring all questions are functional and accessible. - Modified `vite.config.ts` to keep original question/answer links navigable in production. --- vite.config.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vite.config.ts') diff --git a/vite.config.ts b/vite.config.ts index a35e76e..935dce8 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,5 +1,7 @@ import { defineConfig } from 'vitest/config'; export default defineConfig({ + // Keep original question/answer links navigable in production. + build: { assetsInlineLimit: 0 }, test: { include: ['src/**/*.test.ts'] }, }); -- cgit v1.2.3