Skip to content

Commit

Permalink
test: fix update cli-inputs test
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardfoyle committed Feb 28, 2022
1 parent 9ddbcc0 commit 9a8873a
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -260,6 +260,7 @@ describe('update artifacts', () => {
it('updates correct cli-inputs', async () => {
updateRequestStub.serviceModification.additionalAuthTypes = [{ mode: 'AWS_IAM' }, { mode: 'API_KEY' }];
jest.spyOn(AppsyncApiInputState.prototype, 'saveCLIInputPayload');
jest.spyOn(AppsyncApiInputState.prototype, 'cliInputFileExists').mockReturnValueOnce(true);
jest.spyOn(AppsyncApiInputState.prototype, 'getCLIInputPayload').mockReturnValue({
serviceConfiguration: {
apiName: 'testApiName',
Expand Down

0 comments on commit 9a8873a

Please sign in to comment.