enhancementhelp wantedquestion
Repository-Metriken
- Stars
- (2.290 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
Example:
it('toInclude should work for Maps', () => {
const obj = { a: 'a', b: 'b', c: 'c' };
const map = new Map();
Object.keys(obj).forEach(k => {
map.set(k, obj[k]);
});
expect(map).toInclude({ b: 'b' });
});
Error: Expected Map (3) {'a' => 'a', 'b' => 'b', 'c' => 'c'} to include { b: 'b' }