Skip to content

Commit

Permalink
Fix unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
rix0rrr committed Nov 6, 2024
1 parent cb32199 commit 51c202f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/files.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ describe('external assets', () => {
test('fails when we dont have access to the bucket', async () => {
const pub = new AssetPublishing(AssetManifest.fromPath('/simple/cdk.out'), { aws });

aws.mockS3.getBucketLocation = jest.fn().mockImplementation((req: any) => {
aws.mockS3.getBucketLocation = jest.fn().mockImplementation((_req: any) => {
return {
promise: () => {
throw errorWithCode('AccessDenied', 'Whatever');
Expand Down

0 comments on commit 51c202f

Please sign in to comment.