Skip to content

Commit 6bd9b66

Browse files
committed
Removed: repeated unit test
1 parent e129485 commit 6bd9b66

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/unit/collections/GetCollectionItems.test.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,4 @@ describe('execute', () => {
128128
)
129129
expect(actual).toEqual(testItemSubset)
130130
})
131-
132-
test('should return error result on repository error', async () => {
133-
const collectionRepositoryStub: ICollectionsRepository = {} as ICollectionsRepository
134-
collectionRepositoryStub.getCollectionItems = jest.fn().mockRejectedValue(new ReadError())
135-
const testGetCollectionItems = new GetCollectionItems(collectionRepositoryStub)
136-
137-
await expect(testGetCollectionItems.execute()).rejects.toThrow(ReadError)
138-
})
139131
})

0 commit comments

Comments
 (0)