Files
noitu/server/cmd/noitu-server
tiennm99 5c6421a011 test(server): cover the env parsers and the drain-wait loop
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.
2026-09-21 16:16:23 +07:00
..