Skip to content

Commit 4208197

Browse files
committed
fix 23-invites.js
Signed-off-by: Abhinav Kumar <abhinav@avitechlab.com>
1 parent 7bb4794 commit 4208197

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/meteor/tests/end-to-end/api/23-invites.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ describe('Invites', function () {
102102
.set(credentials)
103103
.expect(200)
104104
.expect((res) => {
105-
expect(res.body[0]).to.have.property('_id', testInviteID);
105+
expect(res.body)
106+
.to.be.an('array')
107+
.that.satisfies((arr) => arr.some((el) => el._id === testInviteID));
106108
})
107109
.end(done);
108110
});

0 commit comments

Comments
 (0)