MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / makeHome

Function makeHome

packages/plugins/mcp/src/sdk/codex-plugins.test.ts:34–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32const tempHomes: string[] = [];
33
34const makeHome = (): string => {
35 const home = mkdtempSync(join(tmpdir(), "codex-home-"));
36 tempHomes.push(home);
37 return home;
38};
39
40afterEach(() => {
41 for (const home of tempHomes.splice(0)) rmSync(home, { recursive: true, force: true });

Callers 1

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected