MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / organization-db.test.ts

File organization-db.test.ts

tests/billing/organization-db.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// lint-allow-test-imports-file: TODO(#3118-followup) — this suite uses
2// dynamic-import-after-vi.mock to grab fresh mock refs per test. Convert to
3// the vi.hoisted pattern so it can drop the resetModules + dynamic imports.
4import { describe, test, expect, vi, beforeEach } from 'vitest';

Callers

nothing calls this directly

Calls 13

inferMembershipTierFunction · 0.85
tierFromLookupKeyFunction · 0.85
getSeatUsageFunction · 0.85
getUserSeatTypeFunction · 0.85
resolveMembershipTierFunction · 0.85
buildSubscriptionUpdateFunction · 0.85
canAddSeatFunction · 0.85
createOrganizationMethod · 0.80
setStripeCustomerIdMethod · 0.80
getSubscriptionInfoMethod · 0.80
makeSubscriptionFunction · 0.70
testFunction · 0.50

Tested by

no test coverage detected