These are chat archives for JamieMason/Jasmine-Matchers

15th
May 2018
Yuri Katkov
@ganqqwerty
May 15 2018 12:17
hi there! Do you think it makes sense to add matchers for NodeList and HTMLCollection objects? Or speaking more broadly, for all DOM-related objects, maybe?
for example
expect(fixture.nativeElement.querySelectorAll('.my_class')).toHaveLength(5);
expect(fixture.nativeElement.querySelector('#my_id')).toHaveAttribute('class', 'my_class')