mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 07:30:05 +08:00
Add web/tests/visualize/VisualizationViewer.spec.tsx with 22 vitest cases covering the three core states (loading, render success, render-failure fallback) plus the remaining render dispatch branches: svg sanitize/split, chartjs parse/destroy, html iframe bridge, plugin iframe, geogebra, unknown renderer, manim delegation, toolbar/fullscreen/code panel. VisualizationViewer.tsx coverage: statements 1.69% -> 74.57%, branches 0% -> 50.86%, functions 0% -> 71.69%, lines 1.49% -> 61.56%. Full suite 114 files / 493 tests green; typecheck + eslint clean. No product code changed. Evidence: evidence/test-visualization-viewer-20261003/ Co-authored-by: XZH <cto@xzh.ai>