mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-22 23:42:54 +01:00
test: add debug for random failing test
This commit is contained in:
@@ -367,8 +367,10 @@ describe('Controllers', () => {
|
||||
json: true,
|
||||
resolveWithFullResponse: true,
|
||||
});
|
||||
assert(res.body.errors.length, res.body);
|
||||
assert(res.body.errors.includes('[[error:invalid-email]]'), res.body);
|
||||
console.log(res.statusCode, JSON.stringify(res.body, null, 4));
|
||||
assert.strictEqual(res.statusCode, 200);
|
||||
assert(res.body.errors.length);
|
||||
assert(res.body.errors.includes('[[error:invalid-email]]'));
|
||||
});
|
||||
|
||||
it('gdpr interstitial should still apply if email requirement is disabled', async () => {
|
||||
|
||||
Reference in New Issue
Block a user