1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

Fix assert

This commit is contained in:
ivaosthu 2017-08-08 16:51:26 +02:00 committed by Ivar Conradi Østhus
parent f91a24eabe
commit f2cc426ed7

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, {
yes: 123,
no: 0,