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
'usePreloadedQuery(): usePreloadedQuery was passed a preloaded query that was created with a different environment than the one that is currently in context. In the future, this will become a hard error.',
'usePreloadedQuery(): usePreloadedQuery was passed a preloaded query that was created with a different environment than the one that is currently in context. In the future, this will become a hard error.',
1068
+
()=>{
1069
+
TestRenderer.act(()=>jest.runAllImmediates());
1070
+
},
1071
+
);
1062
1072
expect(renderer?.toJSON()).toEqual('Zuck');
1063
1073
});
1064
1074
});
1065
1075
1066
1076
describe('when loadQuery is passed a preloadedQuery that was disposed',()=>{
1067
1077
it('warns that the preloadedQuery has already been disposed',()=>{
'usePreloadedQuery(): Expected preloadedQuery to not be disposed yet. This is because disposing the query marks it for future garbage collection, and as such query results may no longer be present in the Relay store. In the future, this will become a hard error.';
0 commit comments