Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ afterEach, describe, expect, mock, test } from
'bun:test'
;
2
3
const
importFreshClient = (cacheKey: string) =>
import
(`../client?${cacheKey}`);
4
Callers
nothing calls this directly
Calls
9
setupClientMocks
Function · 0.85
importFreshClient
Function · 0.85
createJsonResponse
Function · 0.85
resolveNativeMarkSuccess
Function · 0.85
setupDownloadMocks
Function · 0.85
resolve
Method · 0.80
markSuccess
Method · 0.65
restartApp
Method · 0.65
switchVersion
Method · 0.45
Tested by
no test coverage detected