Skip to content

Commit

Permalink
test: fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmahidalgo committed Apr 6, 2022
1 parent 55daf96 commit eb01992
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Collection/Collection.router.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1295,9 +1295,9 @@ describe('Collection router', () => {
let tpCurationsAmonut: number

beforeEach(() => {
;(Collection.findOne as jest.Mock).mockResolvedValueOnce(
dbTPCollection
)
;(Collection.findByIds as jest.Mock).mockResolvedValueOnce([
dbTPCollection,
])
items = [
{ ...dbTPItemMock, id: 'c241ef7c-4466-41b0-bf94-be1b8c331fdb' },
{ ...dbTPItemMock, id: 'anotherId' },
Expand Down

0 comments on commit eb01992

Please sign in to comment.