disable HTML DOM checks on examples/htdocs/mike.html
[mkws-moved-to-github.git] / test / spec / mkws-index-simple.spec.js
index 50ebd65..a91acf7 100644 (file)
@@ -17,7 +17,7 @@ function html_check(file, tags_array, ignore_doctype) {
     var html = fs.readFileSync(file, "utf-8");
     var tags = utils.flat_list(tags_array);
 
-    describe("index-full.html string test for " + file, function () {
+    describe("language.html string test for " + file, function () {
         it("html test", function () {
             expect(html).toBeDefined();
 
@@ -33,7 +33,7 @@ function html_check(file, tags_array, ignore_doctype) {
 
             expect(html).toMatch(/<meta .*?charset=utf-8/i);
             expect(html).toMatch(/<title>.+<\/title>/i);
-            expect(html).toMatch(/<link .*?type="text\/css" href=".*?\/?mkwsStyle.css"/);
+            expect(html).toMatch(/<link .*?type="text\/css" href=".*?\/?mkws.css"/);
 
 
             for (var i = 0, data = ""; i < tags.length; i++) {
@@ -45,8 +45,8 @@ function html_check(file, tags_array, ignore_doctype) {
     });
 }
 
-html_check('../examples/htdocs/index-full.html', [utils.tags.required, utils.tags.optional, utils.tags.optional2]);
-html_check('../examples/htdocs/index-mobile.html', [utils.tags.required, utils.tags.optional]);
-html_check('../examples/htdocs/index-popup.html', [], true);
-html_check('../examples/htdocs/index-jquery.html', []);
-html_check('../examples/htdocs/index-mike.html', [utils.tags.required, utils.tags.optional], true);
+html_check('../examples/htdocs/language.html', [utils.tags.required, utils.tags.optional, utils.tags.optional2]);
+html_check('../examples/htdocs/mobile.html', [utils.tags.required, utils.tags.optional]);
+html_check('../examples/htdocs/popup.html', [], true);
+html_check('../examples/htdocs/jquery.html', []);
+// html_check('../examples/htdocs/mike.html', [utils.tags.required, utils.tags.optional], true);