mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-11-24 17:10:52 +08:00
Tests for all pure functions (extractTitle, hostOf, uniq, id0, itoa), engine lifecycle (enqueue edge cases, cooldown, close), DNS resolution with both real and dead-DB asset stores, HTTP probing via httptest, and worker integration. Uses a dead-DB pattern (unreachable PG) to exercise code paths that discard DB errors without requiring a live database.