Skip to content

[ga-gap][unit] data-studio-ui lib exports have no unit or component tests

Summary

data-studio-ui (package.json has dev/build/lint only — no test script). Exported helpers under data-studio-ui/lib/ (rowsToCsv, parseLisDbStatus, filterCommands, projects-store CRUD, runBridge, env URL builders, etc.) have zero *.test.* / *.spec.* files.

Note

Related E2E/data-testid work tracked in documentation gap #19; this issue is specifically unit coverage of pure lib/helpers.

Proposed fix

Add Vitest or Node test runner; cover pure parsers (parseLisDbStatus, rowsToCsv, filterCommands) with empty/null/boundary cases; defer React component tests to gui/e2e lanes.

Audit

data/ga-audits/lis-unit.md