MCPcopy Create free account
hub / github.com/reactnativecn/react-native-update / client.test.ts

File client.test.ts

src/__tests__/client.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, describe, expect, mock, test } from 'bun:test';
2
3const importFreshClient = (cacheKey: string) => import(`../client?${cacheKey}`);
4

Callers

nothing calls this directly

Calls 9

setupClientMocksFunction · 0.85
importFreshClientFunction · 0.85
createJsonResponseFunction · 0.85
resolveNativeMarkSuccessFunction · 0.85
setupDownloadMocksFunction · 0.85
resolveMethod · 0.80
markSuccessMethod · 0.65
restartAppMethod · 0.65
switchVersionMethod · 0.45

Tested by

no test coverage detected