rstacruz/jsdom-global

ES6 - custom HTML to test

Closed this issue · 1 comments

Great plugin. I'm just wondering if there's a way in ES6 that after importing (import 'jsdom-global/register';) I can set custom HTML so I can test things like click events that add classes etc.

Thanks!

I'm just gonna mock an object in the before function 👍