'use strict'; var JSDOM = require('jsdom').JSDOM; var dom = new JSDOM('

jsdom!

'); var window = dom.window; if (window.document.body.children[0].tagName === 'P') { console.log('ok'); }