diff --git a/test/plugins/auth/ldap.ts b/test/plugins/auth/ldap.ts index 8f26ba81..74a606df 100644 --- a/test/plugins/auth/ldap.ts +++ b/test/plugins/auth/ldap.ts @@ -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) {