diff --git a/src/__tests__/if-merge/util/helpers.test.ts b/src/__tests__/if-merge/util/helpers.test.ts index 1f4c0609f..2b7a27d04 100644 --- a/src/__tests__/if-merge/util/helpers.test.ts +++ b/src/__tests__/if-merge/util/helpers.test.ts @@ -149,7 +149,7 @@ describe('if-merge/util/helpers: ', () => { await mergeManifests(mockCommandArgs); expect.assertions(1); - expect(consopleSpy).toHaveBeenCalledTimes(1); + expect(consopleSpy).toHaveBeenCalledTimes(2); }); it('gets YAML files when there is only one manifest.', async () => { diff --git a/src/__tests__/if-run/lib/exhaust.test.ts b/src/__tests__/if-run/lib/exhaust.test.ts index 71d2367e6..1b1ad007a 100644 --- a/src/__tests__/if-run/lib/exhaust.test.ts +++ b/src/__tests__/if-run/lib/exhaust.test.ts @@ -53,7 +53,7 @@ describe('lib/exhaust: ', () => { // @ts-ignore await exhaust(tree, context, {'no-outout': false}); - expect(spy).toHaveBeenCalledTimes(1); + expect(spy).toHaveBeenCalledTimes(2); }); }); });