Skip to content

Commit

Permalink
Remove unnecessary mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejkustra committed Jan 23, 2024
1 parent 408443c commit 8480bfd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/unit/entity/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -880,8 +880,6 @@ describe('entityManager', () => {
});

test('Should return dynamode result of batch get with empty array input', async () => {
batchGetItem.mockResolvedValue({ UnprocessedItems: undefined });

await expect(MockEntityManager.batchGet([])).resolves.toEqual({
items: [],
unprocessedKeys: [],
Expand Down Expand Up @@ -1088,8 +1086,6 @@ describe('entityManager', () => {
});

test('Should return dynamode result of batch put with empty array input', async () => {
batchWriteMock.mockResolvedValue({ UnprocessedItems: undefined });

await expect(MockEntityManager.batchPut([])).resolves.toEqual({
items: [],
unprocessedItems: [],
Expand Down

0 comments on commit 8480bfd

Please sign in to comment.