test: add another assert for random failing test

isekai-main
Barış Soner Uşaklı 3 years ago
parent 61d1f56500
commit ae64b9f495

@ -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);
});

Loading…
Cancel
Save