DEV Community


Discussion on: Testing element dimensions without the browser

lexlohr profile image
Alex Lohr

I had expected something more dramatic, e.g. a way to add a CSSOM to JSDOM that would allow actual calculations. Still, this method is good enough for testing and so, thanks for sharing!

tmikeschu profile image
Mike Schutte Author

Oh yeah that's an interesting idea! I'll take the good enough for testing route for now as well 😊