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

Function createCache

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

Source from the content-addressed store, hash-verified

50 let cache;
51
52 const createCache = () => ({
53 get: jest.genMockFn().mockImplementation(
54 (filepath, field, cb) => cb(filepath)
55 ),
56 invalidate: jest.genMockFn(),
57 end: jest.genMockFn(),
58 });
59
60 let transformCacheKey;
61 const createModule = options =>

Callers 1

Module-test.jsFile · 0.85

Calls 1

cbFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…