diff --git a/packages/amplify-cli/src/__tests__/test-aborting.test.ts b/packages/amplify-cli/src/__tests__/test-aborting.test.ts index 53b2d28ff2d..db156d684ce 100644 --- a/packages/amplify-cli/src/__tests__/test-aborting.test.ts +++ b/packages/amplify-cli/src/__tests__/test-aborting.test.ts @@ -19,6 +19,7 @@ describe('test SIGINT with execute', () => { findProjectRoot: jest.fn(), }, stateManager: { + getMeta: jest.fn(), projectConfigExists: jest.fn(), }, FeatureFlags: { @@ -48,6 +49,9 @@ describe('test SIGINT with execute', () => { emitSuccess: jest.fn(), init: jest.fn(), }; + mockContext.migrationInfo = { + projectHasMobileHubResources: false, + }; mockContext.amplify = jest.genMockFromModule('../domain/amplify-toolkit'); jest.setMock('../context-manager', { constructContext: jest.fn().mockReturnValue(mockContext),