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

File device-auth.test.ts

apps/web/src/lib/device-auth/device-auth.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, test, expect, beforeEach, afterEach } from '@jest/globals';
2import { db } from '@/lib/drizzle';
3import { device_auth_requests, device_sessions, kilocode_users } from '@kilocode/db/schema';
4import { eq } from 'drizzle-orm';

Callers

nothing calls this directly

Calls 15

generateDeviceCodeFunction · 0.90
createDeviceAuthRequestFunction · 0.90
getDeviceAuthRequestFunction · 0.90
approveDeviceAuthRequestFunction · 0.90
denyDeviceAuthRequestFunction · 0.90
pollDeviceAuthRequestFunction · 0.90
testFunction · 0.85
addMethod · 0.80
valuesMethod · 0.65
deleteMethod · 0.65

Tested by

no test coverage detected