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

7 lines
203 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;
module.exports = git;