MCPcopy 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

1import { afterEach, beforeEach, describe, expect, it } from 'bun:test'
2import axios from 'axios'
3import { mkdtemp, readFile, rm, writeFile } from 'fs/promises'
4import { tmpdir } from 'os'

Callers

nothing calls this directly

Calls 10

setTrustedDeviceGateFunction · 0.85
resetGrowthBookFunction · 0.85
clearOAuthTokenCacheFunction · 0.85
rmFunction · 0.85
writeCredentialsFunction · 0.85
getTrustedDeviceTokenFunction · 0.85
clearTrustedDeviceTokenFunction · 0.85
readCredentialsFunction · 0.85
enrollTrustedDeviceFunction · 0.85

Tested by

no test coverage detected