From d9ed2e4af41f3852fda5a0f67f1e772e4522f8a9 Mon Sep 17 00:00:00 2001 From: Lu Han Date: Tue, 7 Sep 2021 22:50:54 -0700 Subject: [PATCH] feat: fix failed test --- .../amplify-cli-core/src/__tests__/hooks/hooksExecutor.test.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/amplify-cli-core/src/__tests__/hooks/hooksExecutor.test.ts b/packages/amplify-cli-core/src/__tests__/hooks/hooksExecutor.test.ts index 90600dc4d0a..0433416a866 100644 --- a/packages/amplify-cli-core/src/__tests__/hooks/hooksExecutor.test.ts +++ b/packages/amplify-cli-core/src/__tests__/hooks/hooksExecutor.test.ts @@ -36,7 +36,6 @@ pathManager_mock.getHooksDirPath.mockReturnValue(testProjectHooksDirPath); stateManager_mock.getHooksConfigJson.mockReturnValueOnce({ extensions: { py: { runtime: 'python3' } } }); jest.mock('execa'); -jest.mock('process'); jest.mock('../../state-manager'); jest.mock('which', () => ({ sync: jest.fn().mockImplementation(runtimeName => {