test/models/chan: we do not send an empty user list anymore

This commit is contained in:
Reto Brunner 2024-04-17 20:19:15 +02:00
parent 31d987283a
commit 1edb5a72c1

View file

@ -195,13 +195,6 @@ describe("Chan", function () {
});
describe("#getFilteredClone(lastActiveChannel, lastMessage)", function () {
it("should send empty user list", function () {
const chan = new Chan();
chan.setUser(new User({nick: "test"}));
expect(chan.getFilteredClone().users).to.be.empty;
});
it("should keep necessary properties", function () {
const chan = new Chan();