Files
oh-my-pi/packages
roboomp 9abea02420 test(stats): isolated stats tests from xdg-shared db
Stats tests set PI_CONFIG_DIR + setAgentDir(home/<config>/agent), which resolves equal to the default agent dir and routes stats.db through $XDG_DATA_HOME/omp/stats.db whenever an XDG var is set, leaking rows across tests. The shared installStatsTestIsolation helper now snapshots and clears XDG_*_HOME with PI_CONFIG_DIR on each test, points the agent dir at a fresh TempDir, closes the DB handle, and restores the prior env after the test.
2026-06-29 10:59:06 +00:00
..
2026-06-28 17:29:35 +02:00
2026-06-28 17:29:35 +02:00
2026-06-28 17:29:35 +02:00
2026-06-27 04:39:59 +02:00
2026-06-28 17:29:35 +02:00
2026-06-28 17:29:35 +02:00
2026-06-28 17:29:35 +02:00
2026-06-28 17:29:35 +02:00
2026-06-28 17:29:35 +02:00
2026-06-28 17:29:35 +02:00
2026-06-28 17:29:35 +02:00