mirror of
https://github.com/thelounge/thelounge
synced 2024-11-21 19:43:07 +00:00
test: token in init event payload is undefined not null
Doesn't matter which, code happens to emit undefined. Adapt test expectation over writing strange || null code. The conditional just checks for a falsey value.
This commit is contained in:
parent
5567f07a7c
commit
8372c5a57e
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ describe("Server", function () {
|
|||
expect(data.active).to.equal(-1);
|
||||
expect(data.networks).to.be.an("array");
|
||||
expect(data.networks).to.be.empty;
|
||||
expect(data.token).to.be.null;
|
||||
expect(data.token).to.be.undefined;
|
||||
|
||||
done();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue