Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/reactnativecn/react-native-update
/ importFreshClient
Function
importFreshClient
src/__tests__/client.test.ts:3–3 ·
view source on GitHub ↗
(cacheKey: string)
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
5
const
createJsonResponse = (payload: unknown) =>
6
({
Callers
1
client.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected