Skip to content
Snippets Groups Projects
Commit 2f767ea3 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

test: Revert "test: remove util/got mocks"

This reverts commit 9b51f0ec.
parent 9b51f0ec
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ import { UpdateType } from '../../config'; ...@@ -5,6 +5,7 @@ import { UpdateType } from '../../config';
import { updateDependency } from './update'; import { updateDependency } from './update';
jest.mock('hasha'); jest.mock('hasha');
jest.mock('../../util/got');
const fromStream: jest.Mock<Promise<string>> = _fromStream as any; const fromStream: jest.Mock<Promise<string>> = _fromStream as any;
......
...@@ -3,6 +3,7 @@ import { fromStream as _fromStream } from 'hasha'; ...@@ -3,6 +3,7 @@ import { fromStream as _fromStream } from 'hasha';
import { updateDependency } from './update'; import { updateDependency } from './update';
jest.mock('hasha'); jest.mock('hasha');
jest.mock('../../util/got');
const fromStream: jest.Mock<Promise<string>> = _fromStream as any; const fromStream: jest.Mock<Promise<string>> = _fromStream as any;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment