MCPcopy Create free account
hub / github.com/coder/mux / readRawArchiveConfig

Function readRawArchiveConfig

src/node/config.test.ts:623–628  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

621
622 describe("coderWorkspaceArchiveBehavior", () => {
623 const readRawArchiveConfig = () =>
624 JSON.parse(fs.readFileSync(path.join(tempDir, "config.json"), "utf-8")) as {
625 coderWorkspaceArchiveBehavior?: unknown;
626 stopCoderWorkspaceOnArchive?: unknown;
627 terminalDefaultShell?: unknown;
628 };
629
630 const legacyBooleanForBehavior = (behavior: string): false | undefined =>
631 behavior === "keep" ? false : undefined;

Callers 1

config.test.tsFile · 0.85

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected