mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
test: add url/statusCode to failing test
This commit is contained in:
@@ -228,7 +228,7 @@ describe('Controllers', () => {
|
||||
if (route.body) {
|
||||
assert.strictEqual(String(body), route.body);
|
||||
} else {
|
||||
assert(body);
|
||||
assert(body, `No body returned for ${route.url} ${response.statusCode}`);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user