MCPcopy Index your code
hub / github.com/coder/mux / projectWithNoWorkspaces

Function projectWithNoWorkspaces

tests/ui/git/initBanner.test.ts:26–28  ·  view source on GitHub ↗

Helper to create a project config for a path with no workspaces

(path: string)

Source from the content-addressed store, hash-verified

24/** Helper to create a project config for a path with no workspaces */
25
26function projectWithNoWorkspaces(path: string): [string, ProjectConfig] {
27 return [path, { workspaces: [] }];
28}
29
30describeIntegration("Git Init Banner (UI)", () => {
31 test("shows git init banner when project is not a git repository", async () => {

Callers 1

initBanner.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected