You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/__tests__/browserSuites/ready-promise.spec.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -521,7 +521,7 @@ export default function readyPromiseAssertions(fetchMock, assert) {
521
521
522
522
consoleSpy.log.resetHistory();
523
523
setTimeout(()=>{
524
-
client.whenReadyFromCache().then((isReady)=>t.true(isReady,'SDK IS READY (& READY FROM CACHE) - Should resolve')).catch(()=>t.fail('SDK TIMED OUT - Should not reject'));
524
+
client.whenReadyFromCache().then((metadata)=>t.true(metadata.initialCacheLoad,'SDK IS READY (& READY FROM CACHE) - Should resolve')).catch(()=>t.fail('SDK TIMED OUT - Should not reject'));
client.whenReadyFromCache().then((isReady)=>t.true(isReady,'SDK IS READY (& READY FROM CACHE) - Should resolve')).catch(()=>t.fail('SDK TIMED OUT - Should not reject'));
497
+
client.whenReadyFromCache().then((metadata)=>t.true(metadata.initialCacheLoad,'SDK IS READY (& READY FROM CACHE) - Should resolve')).catch(()=>t.fail('SDK TIMED OUT - Should not reject'));
0 commit comments