Fix user test

This commit is contained in:
Max Leiter 2022-05-31 14:52:53 -07:00
parent ade6269de9
commit db5eae414c
No known key found for this signature in database
GPG key ID: A3512F2F2F17EBDA
2 changed files with 3 additions and 2 deletions

View file

@ -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] || "";
},
});

View file

@ -3,6 +3,6 @@
"host": "irc.example.com",
"port": 7000,
"duration": 3600,
"expires": 1654037133192
"expires": 1654037554847
}
]