insomnia/packages/insomnia-app/app/__mocks__/isomorphic-git.js

8 lines
227 B
JavaScript
Raw Normal View History

// eslint-disable-next-line filenames/match-exported
const git = jest.requireActual('isomorphic-git');
const mock = jest.genMockFromModule('isomorphic-git');
git.push = mock.push;
git.clone = mock.clone;
module.exports = git;