Skip to content

Node.js based forum software built for the modern web

test: changed test a bit to see what is going on

Julian Lam5f038dffbd4f
diff --git a/test/api.js b/test/api.js
index 06fa145840..ed60f483c6 100644
--- a/test/api.js
+++ b/test/api.js
@@ -367,7 +367,7 @@ describe('API', async () => {
for (const header in expectedHeaders) {
if (expectedHeaders.hasOwnProperty(header)) {
assert(response.headers[header.toLowerCase()]);
- assert(response.headers[header.toLowerCase()] === expectedHeaders[header]);
+ assert.strictEqual(response.headers[header.toLowerCase()], expectedHeaders[header]);
}
}
return;