From 9beb8499db24c42e672723851a49d8d84c87733a Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Wed, 2 Nov 2022 01:34:16 -0700 Subject: [PATCH] chore: fix tests --- packages/api/core/test/fast/read-package-json_spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/api/core/test/fast/read-package-json_spec.ts b/packages/api/core/test/fast/read-package-json_spec.ts index d0a50d0a9e..50ae2f1fe1 100644 --- a/packages/api/core/test/fast/read-package-json_spec.ts +++ b/packages/api/core/test/fast/read-package-json_spec.ts @@ -30,6 +30,7 @@ describe('read-package-json', () => { triggerMutatingHook: (_hookName: string, pj: any) => Promise.resolve(pj), triggerHook: () => Promise.resolve(), overrideStartLogic: () => Promise.resolve(false), + getHookListrTasks: () => Promise.resolve([]), }, } as ResolvedForgeConfig) ).to.deep.equal(require('../../package.json')); @@ -43,6 +44,7 @@ describe('read-package-json', () => { triggerMutatingHook: () => Promise.resolve('test_mut'), triggerHook: () => Promise.resolve(), overrideStartLogic: () => Promise.resolve(false), + getHookListrTasks: () => Promise.resolve([]), }, } as ResolvedForgeConfig) ).to.deep.equal('test_mut');