expect(total).to.equal(0)
})
+ it('Should filter instance comments by onLocalVideo', async function () {
+ {
+ const { total, data } = await command.listForAdmin({ onLocalVideo: false })
+
+ expect(data).to.have.lengthOf(0)
+ expect(total).to.equal(0)
+ }
+
+ {
+ const { total, data } = await command.listForAdmin({ onLocalVideo: true })
+
+ expect(data).to.not.have.lengthOf(0)
+ expect(total).to.not.equal(0)
+ }
+ })
+
it('Should search instance comments by account', async function () {
const { total, data } = await command.listForAdmin({ searchAccount: 'user' })