MCPcopy Index your code
hub / github.com/sourcebot-dev/sourcebot / entitlements.test.ts

File entitlements.test.ts

packages/shared/src/entitlements.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, test, expect, vi, beforeEach } from 'vitest';
2import type { License } from '@sourcebot/db';
3
4const mocks = vi.hoisted(() => ({

Callers

nothing calls this directly

Calls 5

validOfflineKeyFunction · 0.85
makeLicenseFunction · 0.70
getEntitlementsFunction · 0.70
hasEntitlementFunction · 0.70

Tested by

no test coverage detected