Skip to content

Commit

Permalink
remove extra mockImplementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
diegovar committed Jun 25, 2020
1 parent d8146da commit 9d7391b
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -49,7 +49,6 @@ const ERROR_RESPONSE = {
function mockFetch(response) {
jest
.spyOn(global, 'fetch')
.mockImplementation()
.mockImplementation(() => Promise.resolve(response));
}

Expand Down

0 comments on commit 9d7391b

Please sign in to comment.