Skip to content

Commit

Permalink
chore: fix build custom resource test
Browse files Browse the repository at this point in the history
  • Loading branch information
awsluja committed Jul 21, 2023
1 parent 85cefc5 commit 50f7c87
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { $TSContext } from '@aws-amplify/amplify-cli-core';
import { $TSContext, AmplifyError } from '@aws-amplify/amplify-cli-core';
import execa from 'execa';
import { buildCustomResources } from '../../utils/build-custom-resources';

Expand Down Expand Up @@ -43,6 +43,7 @@ jest.mock('@aws-amplify/amplify-cli-core', () => ({
readJson: jest.fn(),
stringify: jest.fn(),
},
skipHooks: jest.fn().mockReturnValue(false),
}));

describe('build custom resources scenarios', () => {
Expand Down

0 comments on commit 50f7c87

Please sign in to comment.