Unit Tests (bklit-ui) Read this skill before proposing or writing tests. Default stance: fewer, higher-signal tests. --- When to add tests Add tests when they lock in behavior that is easy to break silently : | Worth testing | Why | |---------------|-----| | Pure functions / modules | Stable inputs → outputs; fast; no DOM | | Formatters, parsers, scale math, bounds | Regression on string/number output is user-visible | | Codegen / export / registry helpers | Output shape is the contract | | Non-obvious edge cases | Empty data, reversed ranges, clamping | Examples in this repo: , , , . --- Whe…