Behind the Magic Curtain: JSDOM In Depth
JSDOM is the magic behind much of modern frontend testing tools. Many developers are using it, without even realizing that they are, when they use Jest to run frontend code.
JSDOM is a library that emulates the browser DOM, for certain, but how does it work? What can it be used for? What are its limitations? It’s time we dug deeper into a library that is today the cornerstone of our frontend testing. Learn how to use it to mock HTTP calls, learn how to use it even with CSS Modules, CSS in JS, and other webpack shenanigans. Even learn how to take screenshots, even when there is no browser around!
From the olden days of DOS, to the contemporary world of Software Testing, Gil was, is, and always will be, a software developer. He has in the past co-founded WebCollage, survived the bubble collapse of 2000, and worked on various big cloudy projects at Wix.
His current passion is figuring out how to test software, a passion which he has turned into his main job as Evangelist and Senior Architect at Applitools. He has religiously tested all his software, from the early days as a junior software developer to the current days at Applitools, where he develops tests for software that tests software, which is almost one meta layer too many for him.