Skip to content

Commit 35a9e9e

Browse files
author
stevegalili
committed
remove unneeded axios mock
1 parent 19dd3bc commit 35a9e9e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

examples/cookbook/app/network-requests/__tests__/PhoneBook.test.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ import axios from 'axios';
44
import PhoneBook from '../PhoneBook';
55
import { User } from '../types';
66

7-
jest.mock('axios');
8-
9-
jest.setTimeout(10000);
107
describe('PhoneBook', () => {
118
it('fetches contacts successfully and renders in list', async () => {
129
(global.fetch as jest.Mock).mockResolvedValueOnce({

0 commit comments

Comments
 (0)