Update src/model/versioning.test.js

pull/215/head
David Finol 2021-02-12 22:44:04 -06:00 committed by GitHub
parent 0bfe4013ee
commit 85f4a4ff5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ describe('Versioning', () => {
await expect(Versioning.isShallow()).resolves.toStrictEqual(true); await expect(Versioning.isShallow()).resolves.toStrictEqual(true);
}); });
it('returns false when the repo is shallow', async () => { it('returns false when the repo is not shallow', async () => {
const runOutput = 'false'; const runOutput = 'false';
jest.spyOn(System, 'run').mockResolvedValue(runOutput); jest.spyOn(System, 'run').mockResolvedValue(runOutput);
await expect(Versioning.isShallow()).resolves.toStrictEqual(false); await expect(Versioning.isShallow()).resolves.toStrictEqual(false);