Skip to content

Commit

Permalink
reorder imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Chriscbr committed Nov 8, 2020
1 parent d35592a commit 21f5a31
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/@aws-cdk/aws-s3/test/auto-delete-objects.test.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// must be at the top of the file for successful jest mocking
import '@aws-cdk/assert/jest';
import * as cdk from '@aws-cdk/core';
import * as s3 from '../lib';

const mockS3Client = {
listObjectVersions: jest.fn().mockReturnThis(),
deleteObjects: jest.fn().mockReturnThis(),
promise: jest.fn(),
};

import '@aws-cdk/assert/jest';
import * as cdk from '@aws-cdk/core';
import * as s3 from '../lib';
import { handler } from '../lib/auto-delete-objects-handler';

jest.mock('aws-sdk', () => {
Expand Down

0 comments on commit 21f5a31

Please sign in to comment.