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 29eff89 commit 08a1e5cCopy full SHA for 08a1e5c
examples/cookbook/app/network-requests/__tests__/PhoneBook.test.tsx
@@ -6,7 +6,8 @@ import { User } from '../types';
6
7
jest.mock('axios');
8
9
-jest.setTimeout(8000);
+// jest.setTimeout(10000);
10
+jest.useFakeTimers();
11
describe('PhoneBook', () => {
12
it('fetches contacts successfully and renders in list', async () => {
13
(global.fetch as jest.Mock).mockResolvedValueOnce({
0 commit comments