Skip to content

Commit

Permalink
fix up all the tests on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Apr 23, 2024
1 parent ca77d8a commit ef323b6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions example/src/tests/groupTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,9 @@ test('group message delivery status', async () => {

const alexMessagesFiltered: DecodedMessage[] = await alixGroup.messages(
true,
undefined,
undefined,
undefined,
undefined,
MessageDeliveryStatus.UNPUBLISHED
{
deliveryStatus: MessageDeliveryStatus.UNPUBLISHED,
}
)

assert(
Expand Down Expand Up @@ -901,7 +899,9 @@ test('can paginate group messages', async () => {
}
await delayToPropogate()
// bo can read messages from alix
const boMessages: DecodedMessage[] = await boGroups[0].messages(false, 1)
const boMessages: DecodedMessage[] = await boGroups[0].messages(false, {
limit: 1,
})

if (boMessages.length !== 1) {
throw Error(`Should limit just 1 message but was ${boMessages.length}`)
Expand Down

0 comments on commit ef323b6

Please sign in to comment.