MCPcopy Index your code
hub / github.com/callstack/haul / cleanup

Function cleanup

integration_tests/utils/bundle.ts:24–29  ·  view source on GitHub ↗
(projectDir: string, platform: string)

Source from the content-addressed store, hash-verified

22}
23
24export function cleanup(projectDir: string, platform: string) {
25 const filename =
26 platform === 'ios' ? 'index.jsbundle' : 'index.android.bundle';
27 rimraf.sync(path.resolve(projectDir, filename));
28 rimraf.sync(path.resolve(projectDir, `${filename}.map`));
29}

Callers 6

bundle.ios.test.tsFile · 0.90
bundle.ios.test.tsFile · 0.90
bundle.ios.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected