The following assertion with Chai `.and` chain should work ```js expect(container.firstChild) .to.have.attr('role', 'menubar') .and.to.have.attr('aria-orientation', 'vertical'); ``` But it throws TypeError: el.getAttribute is not a function
The following assertion with Chai
.andchain should workBut it throws