test: show body when test fails

This commit is contained in:
Barış Soner Uşaklı
2021-11-08 22:36:10 -05:00
parent f352be63dc
commit e3f5b706a5

View File

@@ -379,7 +379,7 @@ describe('Controllers', () => {
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 () => {