Update src/model/versioning.test.js
parent
0bfe4013ee
commit
85f4a4ff5b
|
|
@ -245,7 +245,7 @@ describe('Versioning', () => {
|
|||
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';
|
||||
jest.spyOn(System, 'run').mockResolvedValue(runOutput);
|
||||
await expect(Versioning.isShallow()).resolves.toStrictEqual(false);
|
||||
|
|
|
|||
Loading…
Reference in New Issue