Files
netwatch/script
sneak b80c8fd214
check / check (push) Successful in 4m19s
Frontend unit tests cover durations, colours, statistics and health (closes #21)
New table-driven tests in test/unit/main.test.js: humanDuration, the
figure and sparkline colours either side of each latency boundary, a
target's min, max, average and median over empty, all-unreachable and
mixed histories, and the four health states either side of their
thresholds. src/main.js exports the four names they need.

package.json gains a test script, which script/frontend-test runs with
the dot reporter and, if a test fails, again with the spec reporter
before failing. NODE_OPTIONS picks the reporter, since yarn appends its
arguments after the test files.

Model: opus-5-5
2026-10-03 23:59:16 +00:00
..
2026-07-07 02:14:16 +02:00
2026-07-07 02:14:16 +02:00
2026-07-07 02:14:16 +02:00
2026-07-07 02:14:16 +02:00