Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrzesik committed Jan 5, 2021
1 parent 5104516 commit 943b75c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/unit/lib/plugins/package/lib/packageService.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,9 @@ describe('lib/plugins/package/lib/packageService.test.js', () => {

// One with CF template, one with function artifact and one with provided function artifact
expect(s3UploadStub).to.be.calledThrice;
const callArgs = s3UploadStub.args.find(item => item[0].Key.endsWith('newArtifact.zip'));
const callArgs = s3UploadStub.args.find((item) =>
item[0].Key.endsWith('newArtifact.zip')
);
expect(callArgs[0].Body.path).to.equal(absoluteArtifactFilePath);
});

Expand All @@ -723,7 +725,9 @@ describe('lib/plugins/package/lib/packageService.test.js', () => {

// One with CF template, one with service artifact
expect(s3UploadStub).to.be.calledTwice;
const callArgs = s3UploadStub.args.find(item => item[0].Key.endsWith('newArtifact.zip'));
const callArgs = s3UploadStub.args.find((item) =>
item[0].Key.endsWith('newArtifact.zip')
);
expect(callArgs[0].Body.path).to.equal(absoluteArtifactFilePath);
});
});
Expand Down

0 comments on commit 943b75c

Please sign in to comment.