1
0
Fork 0
polaris-task-force/tests
Z8MB1E 1738a66e40 test: isolate locker-sync and award-automation specs from cross-file db state
Vitest 4 orders serial test files by cached durations, so adding the interior
suite reshuffled the schedule and exposed two order-dependent specs.

- arma-locker-sync: floor the apply-command scan at a beforeAll id baseline and
  assert the two enqueue tests via per-test id deltas (the pattern the echo-guard
  describe already used) instead of absolute totals that accumulate rows when
  foreign online game-servers change enqueue fan-out
- award-automation: scope every evaluateAwardRules call to this file's ruleIds,
  and track veteran/rookie USER ids separately from PROFILE ids because plans
  key on userId while makeUser returned profile ids; equality only held while
  both sequences stayed aligned
2026-10-21 02:14:43 -04:00
..
audit test(audit): support exact route filtering in the mobile audit 2026-10-13 10:38:45 -04:00
e2e test(interior): harden cleanup afterAll, raise decay timeouts, and fix seed typing 2026-10-20 19:50:19 -04:00
fixtures fix(minigames): end Bomperator teleport-back with trace-proven envelope correction 2026-10-18 02:11:15 -04:00
int test: isolate locker-sync and award-automation specs from cross-file db state 2026-10-21 02:14:43 -04:00
push-schema.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00
seed-baseline.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00
test-db.ts feat(analytics): add first-party analytics collector, SDK, rollups, and admin dashboard 2026-10-14 12:12:53 -04:00
vitest-global.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00
vitest-teardown.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00