Skip to content

Commit

Permalink
test: Revert "test: remove util/got mocks"
Browse files Browse the repository at this point in the history
This reverts commit 9b51f0e.
  • Loading branch information
rarkins committed Jun 16, 2020
1 parent 9b51f0e commit 2f767ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/manager/bazel/update.spec.ts
Expand Up @@ -5,6 +5,7 @@ import { UpdateType } from '../../config';
import { updateDependency } from './update';

jest.mock('hasha');
jest.mock('../../util/got');

const fromStream: jest.Mock<Promise<string>> = _fromStream as any;

Expand Down
1 change: 1 addition & 0 deletions lib/manager/homebrew/update.spec.ts
Expand Up @@ -3,6 +3,7 @@ import { fromStream as _fromStream } from 'hasha';
import { updateDependency } from './update';

jest.mock('hasha');
jest.mock('../../util/got');

const fromStream: jest.Mock<Promise<string>> = _fromStream as any;

Expand Down

0 comments on commit 2f767ea

Please sign in to comment.