MCPcopy Create free account
hub / github.com/bewcloud/bewcloud / setUpUser

Function setUpUser

pages/dav_test.ts:26–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24}
25
26async function setUpUser(): Promise<{ user: User; userRootPath: string }> {
27 const userId = crypto.randomUUID();
28 const userRootPath = join(tempRootDir, userId);
29 await Deno.mkdir(userRootPath, { recursive: true });
30 return { user: createMockUser(userId), userRootPath };
31}
32
33async function callDav(
34 method: string,

Callers 1

dav_test.tsFile · 0.85

Calls 1

createMockUserFunction · 0.85

Tested by

no test coverage detected