Skip to content

createTestEntitlements

function createTestEntitlements<C>(options): TestEntitlements<C>;

Defined in: src/testing.ts:74

An engine on in-memory storage + counters with a test clock, collecting usage, threshold and hook events. User-supplied listeners still run.

Type Parameter
C extends AnyCatalog
Parameter Type
options TestEntitlementsOptions<C>

TestEntitlements<C>