From f2cc426ed7d27ff14c2a383f2a97801962960a84 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Tue, 8 Aug 2017 16:51:26 +0200 Subject: [PATCH] Fix assert --- lib/client-metrics/client-metrics.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client-metrics/client-metrics.test.js b/lib/client-metrics/client-metrics.test.js index 36c056657d..3db556efab 100644 --- a/lib/client-metrics/client-metrics.test.js +++ b/lib/client-metrics/client-metrics.test.js @@ -369,7 +369,7 @@ test('should not fail when toggle metrics is missing yes/no field', t => { }, }); - t.truthy(metrics.globalCount === 123); + t.is(metrics.globalCount, 123); t.deepEqual(metrics.getTogglesMetrics().lastMinute.toggleX, { yes: 123, no: 0,