added tests regarding handling of values not the set/map

pull/11504/head
godzylinux 2 years ago committed by FoHoOV
parent 1bfdd60c8b
commit c6c4f4648c

@ -207,11 +207,7 @@ test('not invoking reactivity when value is not in the map after changes', () =>
});
});
assert.deepEqual(log, [1, undefined, undefined, undefined, 1, undefined]);
assert.deepEqual(log, [1, undefined, undefined, 1]);
cleanup();
});
test('Map.instanceOf', () => {
assert.equal(new ReactiveMap() instanceof Map, true);
});

@ -143,17 +143,9 @@ test('not invoking reactivity when value is not in the set after changes', () =>
false,
'has 2',
false,
'has 3',
false,
'has 2',
true,
'has 3',
false
true
]);
cleanup();
});
test('Set.instanceOf', () => {
assert.equal(new ReactiveSet() instanceof Set, true);
});

Loading…
Cancel
Save