mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
test: add another assert for random failing test
This commit is contained in:
@@ -378,7 +378,7 @@ describe('Controllers', () => {
|
||||
json: true,
|
||||
resolveWithFullResponse: true,
|
||||
});
|
||||
|
||||
assert(res.body.errors.length, res.body);
|
||||
assert(res.body.errors.includes('[[error:invalid-email]]'), res.body);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user