mirror of
https://github.com/Such-Software/wownerogue.git
synced 2026-11-15 19:43:54 +01:00
feat: preserve solo runs across production restarts
This commit is contained in:
@@ -20,9 +20,9 @@ describe('deployment financial-audit contract', () => {
|
||||
/FROM payouts\s+WHERE status IS NULL OR status NOT IN \('recorded', 'completed'\)/
|
||||
);
|
||||
expect(audit).toContain("games WHERE status IS NULL OR status NOT IN ('won', 'lost', 'expired')");
|
||||
expect(audit).toContain("MAX(filename) = '042_immutable_financial_event_snapshots.sql'");
|
||||
expect(audit).toContain("MAX(filename) = '043_durable_solo_restart_snapshots.sql'");
|
||||
expect(audit.match(/status IS NULL OR status NOT IN \('recorded', 'completed'\)/g))
|
||||
.toHaveLength(2);
|
||||
expect(audit).toContain('COUNT(*) = 42');
|
||||
expect(audit).toContain('COUNT(*) = 43');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user