MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / setupFixtures

Function setupFixtures

test/fixtures.ts:433–438  ·  view source on GitHub ↗
(projectId: string)

Source from the content-addressed store, hash-verified

431
432
433export async function setupFixtures(projectId: string): Promise<void> {
434 const client = getClient();
435 await deleteFixtures(client, projectId);
436 await insertFixtures(client, projectId);
437 await client.close();
438}
439
440export async function teardownFixtures(projectId: string): Promise<void> {
441 const client = getClient();

Callers 1

setupFunction · 0.90

Calls 4

insertFixturesFunction · 0.85
closeMethod · 0.80
getClientFunction · 0.70
deleteFixturesFunction · 0.70

Tested by

no test coverage detected