pull/17826/head
Mathias Picker 6 months ago
parent 079927d4b3
commit 9f7abd4ccc

@ -231,13 +231,19 @@ test('map.has() and map.get() with undefined values', () => {
});
assert.deepEqual(log, [
'has', true,
'get', undefined,
'has', false,
'get', undefined,
'has',
true,
'get',
undefined,
'has',
false,
'get',
undefined,
// set('bar') bumps version, causing has('foo')/get('foo') effects to re-run
'has', false,
'get', undefined
'has',
false,
'get',
undefined
]);
assert.equal(map.has('bar'), true);

Loading…
Cancel
Save