Skip to content

Commit

Permalink
fix: improve assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-pousette committed Dec 15, 2023
1 parent 115bc33 commit ab72362
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ describe(`exchange`, function () {

// All entries should be in the database
await waitForResolved(async () =>
expect((await db2.iterator({ limit: -1 })).collect()).toHaveLength(
expect((await db2.iterator({ limit: -1 })).collect().length).toEqual(
entryCount * 2
)
);
Expand Down

0 comments on commit ab72362

Please sign in to comment.