var test = require('tape') var jsdom test('jsdom', function (t) { jsdom = require('./index')() t.end() }) test('dom', function (t) { var div = document.createElement('div') div.innerHTML = 'hello' document.body.appendChild(div) t.equal(document.querySelector('body').innerHTML, '