MCPcopy Create free account
hub / github.com/ColeMurray/background-agents / makeWebhook

Function makeWebhook

packages/linear-bot/src/webhook-handler.test.ts:195–208  ·  view source on GitHub ↗
(action: string)

Source from the content-addressed store, hash-verified

193 );
194 });
195
196 afterEach(() => {
197 vi.unstubAllGlobals();
198 vi.restoreAllMocks();
199 });
200
201 function validToken(): string {
202 const issuedAt = Date.now();
203 return JSON.stringify({
204 version: 1,
205 access_token: "valid-token",
206 token_type: "Bearer",
207 scope: "read,write,app:assignable,app:mentionable",
208 issued_at: issuedAt,
209 expires_at: issuedAt + VALID_TOKEN_TTL_MS,
210 organization_id: "org-1",
211 organization_name: "Acme",

Callers 1

Calls 1

makeIssueFunction · 0.85

Tested by

no test coverage detected