mirror of
https://github.com/thelounge/thelounge.git
synced 2025-12-23 23:37:59 -05:00
ignore invalid warning in ldap test
it complains that the call `ldap.parseDN(dn).toString();` yields "[object Object]" but that's bogus... the typing is incorrect. ldap.DN stringifies properly
This commit is contained in:
@@ -16,7 +16,9 @@ const primaryKey = "uid";
|
||||
const serverPort = 1389;
|
||||
|
||||
function normalizeDN(dn: string) {
|
||||
return String(ldap.parseDN(dn).toString());
|
||||
// warning is bogus in this case
|
||||
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
||||
return ldap.parseDN(dn).toString();
|
||||
}
|
||||
|
||||
function startLdapServer(callback) {
|
||||
|
||||
Reference in New Issue
Block a user