mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-19 22:56:37 +02:00
Fix user test
This commit is contained in:
parent
ade6269de9
commit
db5eae414c
|
@ -19,7 +19,8 @@ class User {
|
|||
|
||||
Object.defineProperty(this, "mode", {
|
||||
get() {
|
||||
return String(this.modes[0]);
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
||||
return this.modes[0] || "";
|
||||
},
|
||||
});
|
||||
|
||||
|
|
2
test/fixtures/.thelounge/sts-policies.json
vendored
2
test/fixtures/.thelounge/sts-policies.json
vendored
|
@ -3,6 +3,6 @@
|
|||
"host": "irc.example.com",
|
||||
"port": 7000,
|
||||
"duration": 3600,
|
||||
"expires": 1654037133192
|
||||
"expires": 1654037554847
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue