fix makefile warnings
[mkws-moved-to-github.git] / test / spec / mkws-index-jsdom.spec.js
index 8106441..471c03e 100644 (file)
@@ -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);