mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
test: show body when test fails
This commit is contained in:
@@ -379,7 +379,7 @@ describe('Controllers', () => {
|
||||
resolveWithFullResponse: true,
|
||||
});
|
||||
|
||||
assert(res.body.errors.includes('[[error:invalid-email]]'));
|
||||
assert(res.body.errors.includes('[[error:invalid-email]]'), res.body);
|
||||
});
|
||||
|
||||
it('gdpr interstitial should still apply if email requirement is disabled', async () => {
|
||||
|
||||
Reference in New Issue
Block a user