From 2b48ee2707141d09b3545af0a144ec7313b2fdbc Mon Sep 17 00:00:00 2001 From: Teppo Kurki Date: Tue, 20 Aug 2019 20:03:55 +0300 Subject: [PATCH] fix: support app.debug --- test/battery_status_127508.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/battery_status_127508.js b/test/battery_status_127508.js index 1a53131..94f7870 100644 --- a/test/battery_status_127508.js +++ b/test/battery_status_127508.js @@ -34,6 +34,7 @@ describe('Battery status 127508', function () { const app = new Server().app app.providerStatistics = [] + app.debug = (x) => console.log(x) const n2kSpy = sinon.spy() app.on('nmea2000out', n2kSpy) setTimeout(() => {