MCPcopy Index your code
hub / github.com/forloopcodes/contextplus / setup

Function setup

test/main/shadow-traversal.test.mjs:16–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14const OUTSIDE_DIR = join(process.cwd(), "test", "_shadow_traversal_outside");
15
16async function setup() {
17 await rm(FIXTURE_DIR, { recursive: true, force: true });
18 await rm(OUTSIDE_DIR, { recursive: true, force: true });
19 await mkdir(FIXTURE_DIR, { recursive: true });
20 await mkdir(OUTSIDE_DIR, { recursive: true });
21}
22
23async function cleanup() {
24 await rm(FIXTURE_DIR, { recursive: true, force: true });

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected