test(server): add node --test harness with failing free-tier billing tests

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Timo Knuth
2026-07-06 12:37:11 +02:00
parent 222d885107
commit 4b79bbcbc9
3 changed files with 91 additions and 11 deletions

View File

@@ -828,4 +828,10 @@ module.exports = {
syncRevenueCatCustomerInfo,
syncRevenueCatWebhookEvent,
storeEndpointResponse,
// exported for tests
buildDefaultAccount,
alignAccountToCurrentCycle,
getAvailableCredits,
consumeCredits,
buildBillingSummary,
};