From 8982923e4125ef4bc67cca50ad92484713b9aef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 18 Mar 2025 21:22:07 -0400 Subject: [PATCH] test: add url/statusCode to failing test --- test/controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/controllers.js b/test/controllers.js index c664980aee..c0c7b22a7f 100644 --- a/test/controllers.js +++ b/test/controllers.js @@ -228,7 +228,7 @@ describe('Controllers', () => { if (route.body) { assert.strictEqual(String(body), route.body); } else { - assert(body); + assert(body, `No body returned for ${route.url} ${response.statusCode}`); } }); });