Files
node-problem-detector/pkg
Veer Singh ba3a2d858b Add unit tests for the custom plugin monitor
This change adds tests for generateStatus, the monitor lifecycle and the
metrics path. Package coverage increases from 0.8% to 95.3% of statements.

A table test replays sequences of plugin results against one monitor. The
table covers the five condition scenarios in generateStatus. Other tests
cover the temporary rule path, the problem counter, the problem gauge and
the constructor.

This change adds no production code.
2026-07-28 21:53:20 -07:00
..
2025-08-13 16:56:32 +00:00
2022-12-18 22:58:07 -05:00
2018-06-24 10:39:28 +08:00