1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-31 00:16:47 +01:00

Fix assert

This commit is contained in:
ivaosthu 2017-08-08 16:51:26 +02:00
parent 10c2493e28
commit 13cf218ccf

View File

@ -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, { t.deepEqual(metrics.getTogglesMetrics().lastMinute.toggleX, {
yes: 123, yes: 123,
no: 0, no: 0,