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