MCPcopy
hub / github.com/coder/mux / copilotOauthService.test.ts

File copilotOauthService.test.ts

src/node/services/copilotOauthService.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect, beforeEach, afterEach } from "bun:test";
2
3import type { ProviderModelEntry } from "@/common/orpc/types";
4import type { Result } from "@/common/types/result";

Callers

nothing calls this directly

Calls 13

ErrFunction · 0.90
deviceCodeResponseFunction · 0.85
modelsResponseFunction · 0.85
tokenSuccessResponseFunction · 0.85
createMockDepsFunction · 0.70
createServiceFunction · 0.70
mockFetchFunction · 0.70
jsonResponseFunction · 0.70
disposeMethod · 0.65
startDeviceFlowMethod · 0.45
waitForDeviceFlowMethod · 0.45

Tested by

no test coverage detected