MCPcopy Create free account
hub / github.com/ptmt/react-native-macos / mockFS

Function mockFS

packager/src/node-haste/__tests__/Module-test.js:35–37  ·  view source on GitHub ↗
(rootChildren)

Source from the content-addressed store, hash-verified

33 });
34
35function mockFS(rootChildren) {
36 fs.__setMockFilesystem({root: rootChildren});
37}
38
39function mockPackageFile() {
40 mockFS({'package.json': packageJson});

Callers 2

mockPackageFileFunction · 0.85
mockIndexFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…