Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ describe, it, expect, vi, afterEach } from
'vitest'
;
2
import
{ SignJWT, decodeProtectedHeader } from
'jose'
;
3
import
{
4
kiloTokenPayload,
Callers
nothing calls this directly
Calls
8
verifyKiloToken
Function · 0.85
encode
Function · 0.85
sign
Method · 0.80
setExpirationTime
Method · 0.80
setIssuedAt
Method · 0.80
setProtectedHeader
Method · 0.80
signKiloToken
Function · 0.70
sign
Function · 0.70
Tested by
no test coverage detected