We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c32dd9 commit ae4e359Copy full SHA for ae4e359
1 file changed
apps/meteor/tests/end-to-end/api/rooms.ts
@@ -152,8 +152,10 @@ describe('[Rooms]', () => {
152
.get(api('subscriptions.getOne'))
153
.set(credentials)
154
.query({ roomId: testChannel._id })
155
+ .expect('Content-Type', 'application/json')
156
.expect(200)
157
.expect((res) => {
158
+ expect(res.body).to.have.property('success', true);
159
expect(res.body.subscription).to.have.property('draft', draft);
160
});
161
0 commit comments