Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/CodebuffAI/codebuff
/ helpers.test.ts
File
helpers.test.ts
web/src/app/onboard/__tests__/helpers.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ genAuthCode } from
'@codebuff/common/util/credentials'
2
import
{ afterEach, beforeEach, describe, expect, test } from
'bun:test'
3
4
import
{
Callers
nothing calls this directly
Calls
13
parseAuthCode
Function · 0.90
genAuthCode
Function · 0.90
validateAuthCode
Function · 0.90
buildCliAuthCode
Function · 0.90
isOpaqueCliAuthCodeToken
Function · 0.90
getCliAuthCodeHashPrefix
Function · 0.90
getCliAuthCodeTokenIdentifier
Function · 0.90
getConsumedCliAuthCodeTokenIdentifier
Function · 0.90
getConsumedCliAuthCodeTokenValue
Function · 0.90
resolveCliAuthCode
Function · 0.90
isAuthCodeExpired
Function · 0.90
beforeEach
Function · 0.85
Tested by
no test coverage detected