I'm running a test using a library (grommet) that uses scrollIntoView on an a tag. jsdom is throwing errors when hitting that line of code. I was able to get it to work by adding window.HTMLElement.prototype.scrollIntoView = function() {}; in my testHelper file to setup the tests, but I thought I'd report it to see if it's something you want to fix.
I'm running a test using a library (
grommet) that usesscrollIntoViewon anatag.jsdomis throwing errors when hitting that line of code. I was able to get it to work by addingwindow.HTMLElement.prototype.scrollIntoView = function() {};in my testHelper file to setup the tests, but I thought I'd report it to see if it's something you want to fix.