Introduce smart fetching, based on type of local repo.

This commit is contained in:
Webber
2020-05-01 14:17:30 +02:00
committed by Webber Takken
parent cd1d215dfa
commit b41026b36e
3 changed files with 10 additions and 2 deletions

View File

@@ -197,6 +197,7 @@ describe('Versioning', () => {
describe('fetch', () => {
it('awaits the command', async () => {
jest.spyOn(core, 'warning').mockImplementation(() => {});
jest.spyOn(System, 'run').mockResolvedValue(null);
await expect(Versioning.fetch()).resolves.not.toThrow();
});