MCPcopy Index your code
hub / github.com/adobe/react-spectrum / mockFirstCall

Function mockFirstCall

packages/react-stately/test/data/useAsyncList.test.js:959–963  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

957 }
958
959 function mockFirstCall() {
960 return new Promise(resolve => {
961 setTimeout(() => resolve({items: itemsFirstCall, cursor: 3}), 100);
962 });
963 }
964
965 function mockSecondCall() {
966 return new Promise(resolve => {

Callers

nothing calls this directly

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected