/* global describe, before, it, document, expect */ var jsdom = require('../index') describe('jquery', function () { var $ jsdom() before(function () { $ = require('jquery') }) it('creating elements works', function () { var div = $('
hello world
') expect(div.html()).to.eql('hello world') }) it('lookup works', function () { document.body.innerHTML = '
hola
' expect($('div').html()).eql('hola') }) })