Update test/backend-test/notification-providers/test-ntlm.js

This commit is contained in:
Frank Elsinga 2026-01-02 05:33:22 +01:00 committed by GitHub
parent 6b05f6269d
commit 8c75808d2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,7 +5,7 @@ const hash = require("../../server/modules/axios-ntlm/lib/hash");
describe("createPseudoRandomValue()", () => {
test("returns a hexadecimal string with the requested length", () => {
for (const length of [0, 8, 16, 32, 64]) {
for (const length of [ 0, 8, 16, 32, 64 ]) {
const result = hash.createPseudoRandomValue(length);
assert.strictEqual(typeof result, "string");
assert.strictEqual(result.length, length);