MCPcopy
hub / github.com/coder/mux / createProjectConfig

Function createProjectConfig

src/cli/server.test.ts:120–125  ·  view source on GitHub ↗
(projectKind?: ProjectConfig["projectKind"])

Source from the content-addressed store, hash-verified

118}
119
120function createProjectConfig(projectKind?: ProjectConfig["projectKind"]): ProjectConfig {
121 return {
122 workspaces: [],
123 ...(projectKind === undefined ? {} : { projectKind }),
124 };
125}
126
127describe("shouldExposeLaunchProject", () => {
128 test("returns true when only system projects exist", () => {

Callers 1

server.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected