Problem. frontend/package.json has no test runner (no jest/vitest/@testing-library/playwright) and no test script. Non-trivial client logic ships untested: the SSE dispatcher src/lib/notebook/useNotebookSSE.ts, src/lib/api.ts, AppContext.tsx, the lineage graph, and the notebook cell components.
Why it matters. A single renamed event type or route path silently breaks live updates with nothing to catch it.
Suggested fix. Add Vitest + React Testing Library for hooks/components, a Playwright smoke test for the core flow, and a frontend-test job in ci.yml (which today only runs lint/typecheck/build).
Problem.
frontend/package.jsonhas no test runner (no jest/vitest/@testing-library/playwright) and notestscript. Non-trivial client logic ships untested: the SSE dispatchersrc/lib/notebook/useNotebookSSE.ts,src/lib/api.ts,AppContext.tsx, the lineage graph, and the notebook cell components.Why it matters. A single renamed event
typeor route path silently breaks live updates with nothing to catch it.Suggested fix. Add Vitest + React Testing Library for hooks/components, a Playwright smoke test for the core flow, and a
frontend-testjob inci.yml(which today only runs lint/typecheck/build).