X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fspec%2Fmkws-index-jsdom.spec.js;h=471c03e5005caf5f821fa154c107e6c51d52993d;hb=53dc53783dfabd95a00a1a06472fe0982fa4ebf0;hp=8106441f6994e9e76c69f881f89399e84e70caca;hpb=b185ea6d84262b492e83f3359d51cf17b88966d5;p=mkws-moved-to-github.git diff --git a/test/spec/mkws-index-jsdom.spec.js b/test/spec/mkws-index-jsdom.spec.js index 8106441..471c03e 100644 --- a/test/spec/mkws-index-jsdom.spec.js +++ b/test/spec/mkws-index-jsdom.spec.js @@ -17,7 +17,7 @@ function jsdom_check(file, tags_array, ignore_doctype) { var html = fs.readFileSync(file, "utf-8"); var tags = utils.flat_list(tags_array); - describe("index-full.html jsdom + jquery for " + file, function () { + describe("language.html jsdom + jquery for " + file, function () { var window = require('jsdom').jsdom(html, null, { FetchExternalResources: false, ProcessExternalResources: false, @@ -26,7 +26,7 @@ function jsdom_check(file, tags_array, ignore_doctype) { }).createWindow(); /* apply jquery to the window */ - var $ = require('jquery').create(window); + var $ = require('jQuery').create(window); it("html jquery test", function () { @@ -50,8 +50,8 @@ function jsdom_check(file, tags_array, ignore_doctype) { }); } -jsdom_check('../examples/htdocs/index-full.html', [utils.tags.required, utils.tags.optional, utils.tags.optional2]); -jsdom_check('../examples/htdocs/index-mobile.html', [utils.tags.required, utils.tags.optional]); -jsdom_check('../examples/htdocs/index-popup.html', [], true); -jsdom_check('../examples/htdocs/index-jquery.html', []); -jsdom_check('../examples/htdocs/index-mike.html', [utils.tags.required, utils.tags.optional], true); +jsdom_check('../examples/htdocs/language.html', [utils.tags.required, utils.tags.optional, utils.tags.optional2]); +jsdom_check('../examples/htdocs/mobile.html', [utils.tags.required, utils.tags.optional]); +jsdom_check('../examples/htdocs/popup.html', [], true); +jsdom_check('../examples/htdocs/jquery.html', []); +// jsdom_check('../examples/htdocs/mike.html', [utils.tags.required, utils.tags.optional], true);