Skip to content

Instantly share code, notes, and snippets.

@TheSavior TheSavior/jsdom_document.js Secret
Created Sep 26, 2016

What would you like to do?
Use jsdom to set the document global
global.document = jsdom.jsdom('<div class="foo">my content</div>');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.