We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4802247 commit 6797ba7Copy full SHA for 6797ba7
versioned_docs/version-7.x/testing.md
@@ -848,6 +848,8 @@ async function mockedFetch() {
848
}
849
850
test('on every profile screen focus, displays loading state while waiting for data and then shows fetched profile', async () => {
851
+ jest.useFakeTimers();
852
+
853
const TabNavigation = createStaticNavigation(TabNavigator);
854
render(<TabNavigation />);
855
@@ -898,6 +900,8 @@ async function mockedFetch() {
898
900
899
901
902
903
904
905
render(
906
<NavigationContainer>
907
<TabNavigator />
0 commit comments