mirror of
https://github.com/thelounge/thelounge
synced 2024-11-21 19:43:07 +00:00
test/models/chan: we do not send an empty user list anymore
This commit is contained in:
parent
31d987283a
commit
1edb5a72c1
1 changed files with 0 additions and 7 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue