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

File kilo-token.test.ts

packages/worker-utils/src/kilo-token.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect, vi, afterEach } from 'vitest';
2import { SignJWT, decodeProtectedHeader } from 'jose';
3import {
4 kiloTokenPayload,

Callers

nothing calls this directly

Calls 8

verifyKiloTokenFunction · 0.85
encodeFunction · 0.85
signMethod · 0.80
setExpirationTimeMethod · 0.80
setIssuedAtMethod · 0.80
setProtectedHeaderMethod · 0.80
signKiloTokenFunction · 0.70
signFunction · 0.70

Tested by

no test coverage detected