Fix createApp test

Signed-off-by: Leonardo Maier <leonarmaier@gmail.com>
This commit is contained in:
Leonardo Maier
2022-09-28 10:17:52 -03:00
parent 7219c3d53e
commit 168fb4adc0
+1 -1
View File
@@ -97,7 +97,7 @@ describe('command entrypoint', () => {
it('should not call `initGitRepository` when `gitConfig` is undefined', async () => {
const cmd = {} as unknown as Command;
readGitConfig.mockResolvedValue(undefined);
readGitConfig.mockResolvedValue({});
await createApp(cmd);
expect(initGitRepositoryMock).not.toHaveBeenCalled();
});