From 7bf8594dc28a230307eedb93ddc28e05b5be592c Mon Sep 17 00:00:00 2001 From: Tobias Nteireho Date: Fri, 2 Aug 2024 09:30:17 -0500 Subject: [PATCH] show error for failing test --- test/routes/assemble.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/routes/assemble.js b/test/routes/assemble.js index 1fbeed87..57ee30f9 100644 --- a/test/routes/assemble.js +++ b/test/routes/assemble.js @@ -36,7 +36,10 @@ describe('POST /api/assemble', function () { }) .expect(200) .end(function (err) { - if (err) return done(err) + if (err) { + console.log(err) + return done(err) + } done() }) })