mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-15 20:15:11 +02:00
test/models/chan: we do not send an empty user list anymore
This commit is contained in:
parent
31d987283a
commit
1edb5a72c1
|
@ -195,13 +195,6 @@ describe("Chan", function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("#getFilteredClone(lastActiveChannel, lastMessage)", 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 () {
|
it("should keep necessary properties", function () {
|
||||||
const chan = new Chan();
|
const chan = new Chan();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue