MCPcopy Create free account
hub / github.com/cloudflare/wildebeest / createTestClient

Function createTestClient

backend/test/utils.ts:71–77  ·  view source on GitHub ↗
(
	db: Database,
	redirectUri: string = 'https://localhost',
	scopes: string = 'read follow'
)

Source from the content-addressed store, hash-verified

69}
70
71export async function createTestClient(
72 db: Database,
73 redirectUri: string = 'https://localhost',
74 scopes: string = 'read follow'
75): Promise<Client> {
76 return createClient(db, 'test client', redirectUri, scopes, 'https://cloudflare.com')
77}
78
79type TestQueue = Queue<any> & { messages: Array<any> }
80

Callers 4

oauth.spec.tsFile · 0.90
apps.spec.tsFile · 0.90

Calls 1

createClientFunction · 0.90

Tested by

no test coverage detected