MCPcopy Create free account
hub / github.com/reactnativecn/react-native-update / importFreshCore

Function importFreshCore

src/__tests__/core.test.ts:10–10  ·  view source on GitHub ↗
(cacheKey: string)

Source from the content-addressed store, hash-verified

8// Actually, bun test runs each file in its own environment usually,
9// BUT if we run multiple test files in one process, they might share the cache.
10const importFreshCore = (cacheKey: string) => import(`../core?${cacheKey}`);
11
12describe('core info parsing', () => {
13 test('should call error when currentVersionInfo is invalid JSON', async () => {

Callers 1

core.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected