MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / tempHome

Function tempHome

packages/oauth/test/identity.test.ts:18–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16const tmpRoots: string[] = [];
17
18function tempHome(): string {
19 const dir = mkdtempSync(join(tmpdir(), 'kimi-oauth-identity-'));
20 tmpRoots.push(dir);
21 return dir;
22}
23
24afterEach(() => {
25 for (const dir of tmpRoots.splice(0)) {

Callers 1

identity.test.tsFile · 0.70

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected