MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / route.test.ts

File route.test.ts

apps/web/src/app/api/integrations/linear/callback/route.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { beforeEach, describe, expect, test } from '@jest/globals';
2import { NextRequest } from 'next/server';
3import { getUserFromAuth } from '@/lib/user/server';
4import { verifyOAuthState, createOAuthState } from '@/lib/integrations/oauth-state';

Callers

nothing calls this directly

Calls 8

createOAuthStateFunction · 0.90
verifyOAuthStateFunction · 0.90
testFunction · 0.85
callLinearCallbackFunction · 0.85
makeRequestFunction · 0.70
expectRedirectLocationFunction · 0.70
getMethod · 0.65
textMethod · 0.65

Tested by

no test coverage detected