From e3f5b706a513c01152d617011730419af3a450f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 8 Nov 2021 22:36:10 -0500 Subject: [PATCH] test: show body when test fails --- test/controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/controllers.js b/test/controllers.js index 452b43d302..8a27c80d3c 100644 --- a/test/controllers.js +++ b/test/controllers.js @@ -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 () => {