mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
test: changed test a bit to see what is going on
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user