Skip to content

Commit

Permalink
Fix test for isActive
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronvoell committed Feb 13, 2024
1 parent 8c9ac55 commit 5accc01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/src/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ test('can remove members from a group', async () => {
throw new Error('cams group should be active')
}

await aliceGroup.removeMembers([bobClient.address])
await aliceGroup.removeMembers([camClient.address])
await aliceGroup.sync()
const aliceGroupMembers = await aliceGroup.memberAddresses()
if (aliceGroupMembers.length !== 2) {
Expand All @@ -489,8 +489,8 @@ test('can remove members from a group', async () => {
await camGroups[0].sync()
await camClient.conversations.syncGroups()

if (!camGroups[0].isActive()) {
throw new Error('cams group should active')
if (camGroups[0].isActive()) {
throw new Error('cams group should not be active')
}

const camGroupMembers = await camGroups[0].memberAddresses()
Expand Down

0 comments on commit 5accc01

Please sign in to comment.