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

Function setRequestId

Libraries/Network/__tests__/XMLHttpRequest-test.js:15–20  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

13let requestId = 1;
14
15function setRequestId(id){
16 if (Platform.OS === 'ios' || Platform.OS === 'macos') {
17 return;
18 }
19 requestId = id;
20}
21
22jest
23 .disableAutomock()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…