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

File token.test.ts

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

Source from the content-addressed store, hash-verified

1import { getEnvVariable } from '@/lib/dotenvx';
2import { afterEach, describe, it, expect } from '@jest/globals';
3import jwt from 'jsonwebtoken';
4import type { User } from '@kilocode/db/schema';

Callers

nothing calls this directly

Calls 8

generateApiTokenFunction · 0.90
getEnvVariableFunction · 0.90
signMethod · 0.80
setMethod · 0.65
decodeMethod · 0.45

Tested by

no test coverage detected