test: show body when test fails

isekai-main
Barış Soner Uşaklı 3 years ago
parent f352be63dc
commit e3f5b706a5

@ -379,7 +379,7 @@ describe('Controllers', () => {
resolveWithFullResponse: true, 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 () => { it('gdpr interstitial should still apply if email requirement is disabled', async () => {

Loading…
Cancel
Save