Skip to content

Commit

Permalink
remove unwated assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
ashika112 committed Mar 5, 2024
1 parent 51ea16b commit 2cd55fd
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ describe('downloadData with key', () => {
: '';

it(`should supply the correct parameters to getObject API handler with ${accessLevelMsg} accessLevel ${targetIdentityIdMsg}`, async () => {
// expect.assertions(2);
(getObject as jest.Mock).mockResolvedValueOnce({ Body: 'body' });
const onProgress = jest.fn();
downloadData({
Expand Down Expand Up @@ -123,7 +122,6 @@ describe('downloadData with key', () => {
});

it('should assign the getObject API handler response to the result with key', async () => {
expect.assertions(2);
const lastModified = 'lastModified';
const contentLength = 'contentLength';
const eTag = 'eTag';
Expand Down Expand Up @@ -248,7 +246,6 @@ describe('downloadData with path', () => {
});

it('should assign the getObject API handler response to the result with path', async () => {
expect.assertions(2);
const lastModified = 'lastModified';
const contentLength = 'contentLength';
const eTag = 'eTag';
Expand Down

0 comments on commit 2cd55fd

Please sign in to comment.