From: Wolfram Schneider Date: Wed, 7 Jan 2015 12:14:57 +0000 (+0000) Subject: test is no longer needed, see the upgrade to "jquery" in MKWS-345 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=6c6e417d9ab0ba17ffdd41d63cf1d8bd1041487d test is no longer needed, see the upgrade to "jquery" in MKWS-345 --- diff --git a/test/spec/jsdom.spec.js b/test/spec/jsdom.spec.js deleted file mode 100644 index 273f591..0000000 --- a/test/spec/jsdom.spec.js +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2013 Index Data ApS. http://indexdata.com - * - * jQuery test with DOM/windows object - * - */ - -describe("jQuery suite", function () { - var jsdom = require('jsdom').jsdom; - var myWindow = jsdom().createWindow(); - - var $ = require('jQuery'); - var jq = require('jQuery').create(); - var jQuery = require('jQuery').create(myWindow); - - it("jQuery append test", function () { - jQuery("

test passes h1

").appendTo("body"); - expect(jQuery("body").html()).toMatch(/

/); - }); - - it("$ append test", function () { - $("

test passes h2

").appendTo("body"); - expect($("body").html()).toMatch(/

/); - }); - - it("jq append test", function () { - jq("

test passes h2

").appendTo("body"); - expect(jq("body").html()).toMatch(/

/); - }); - - it("window test", function () { - expect(myWindow).toBeDefined(); - }); -});