Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Noumena-Network/code
/ trustedDevice.test.ts
File
trustedDevice.test.ts
src/bridge/trustedDevice.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, beforeEach, describe, expect, it } from
'bun:test'
2
import
axios from
'axios'
3
import
{ mkdtemp, readFile, rm, writeFile } from
'fs/promises'
4
import
{ tmpdir } from
'os'
Callers
nothing calls this directly
Calls
10
setTrustedDeviceGate
Function · 0.85
resetGrowthBook
Function · 0.85
clearOAuthTokenCache
Function · 0.85
clearTrustedDeviceTokenCache
Function · 0.85
rm
Function · 0.85
writeCredentials
Function · 0.85
getTrustedDeviceToken
Function · 0.85
clearTrustedDeviceToken
Function · 0.85
readCredentials
Function · 0.85
enrollTrustedDevice
Function · 0.85
Tested by
no test coverage detected