MCPcopy
hub / github.com/langgenius/dify / device-flow.test.ts

File device-flow.test.ts

cli/src/api/device-flow.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { DifyMock } from '@test/fixtures/dify-mock/server'
2import type { AddressInfo } from 'node:net'
3import type { CodeResponse } from './oauth-device.js'
4import { Buffer } from 'node:buffer'

Callers

nothing calls this directly

Calls 10

startMockFunction · 0.90
testHttpClientFunction · 0.90
isBaseErrorFunction · 0.90
makeApiFunction · 0.85
jsonStubFunction · 0.85
requestCodeMethod · 0.80
pollOnceMethod · 0.80
startStubFunction · 0.70
itFunction · 0.50
stopMethod · 0.45

Tested by

no test coverage detected