mirror of
https://github.com/tiennm99/noitu.git
synced 2026-10-11 12:28:54 +00:00
cmd/noitu-server had no tests at all: every env* helper is pure, and config parsing is exactly where a production misconfiguration hides. waitForGamesToFinish narrows its *wsapi.Server parameter to the single method it calls, so the poll-then-check timing can be driven by a fake without a live server behind it.