mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 09:06:15 +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) {
|
for (const header in expectedHeaders) {
|
||||||
if (expectedHeaders.hasOwnProperty(header)) {
|
if (expectedHeaders.hasOwnProperty(header)) {
|
||||||
assert(response.headers[header.toLowerCase()]);
|
assert(response.headers[header.toLowerCase()]);
|
||||||
assert(response.headers[header.toLowerCase()] === expectedHeaders[header]);
|
assert.strictEqual(response.headers[header.toLowerCase()], expectedHeaders[header]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user