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 08a1e5c commit dfaff9eCopy full SHA for dfaff9e
.github/workflows/example-apps.yml
@@ -32,4 +32,4 @@ jobs:
32
run: yarn --cwd examples/${{ matrix.example }} typecheck
33
34
- name: Test
35
- run: yarn --cwd examples/${{ matrix.example }} test
+ run: yarn --cwd examples/${{ matrix.example }} test --detectOpenHandles
examples/cookbook/app/network-requests/__tests__/PhoneBook.test.tsx
@@ -6,8 +6,7 @@ import { User } from '../types';
6
7
jest.mock('axios');
8
9
-// jest.setTimeout(10000);
10
-jest.useFakeTimers();
+jest.setTimeout(10000);
11
describe('PhoneBook', () => {
12
it('fetches contacts successfully and renders in list', async () => {
13
(global.fetch as jest.Mock).mockResolvedValueOnce({
0 commit comments