Skip to content

Commit

Permalink
Count msgs on additions feed
Browse files Browse the repository at this point in the history
  • Loading branch information
Powersource committed Apr 5, 2023
1 parent 155fc60 commit 5dc0ec9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/exclude-members.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ test('add and remove a person, post on the new feed', async (t) => {
)
const additionsContents = msgsFromAdditions.map((msg) => msg.value.content)

t.equal(additionsContents.length, 3, '3 messages on additions feed')

const reinviteMsg = additionsContents[2]

t.equal(reinviteMsg.type, 'group/add-member')
Expand Down

0 comments on commit 5dc0ec9

Please sign in to comment.