Skip to content

Commit

Permalink
Partially update browser test suite
Browse files Browse the repository at this point in the history
We can successfully run more parts of our node test suite on the browser too now!
Also updated a few of the comments of the suites I've tried.
  • Loading branch information
Sebmaster committed Feb 20, 2015
1 parent fffed3f commit 4546b8d
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions test/worker-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,24 @@ self.onmessage = function (e) {
"level1/html": require("../test/level1/html"), // ok
"level2/core": require("../test/level2/core"), // ok
"level2/html": require("../test/level2/html"), // 6/708
"level2/style": require("../test/level2/style"), // 0/15
"level2/style": require("../test/level2/style"), // 13/15
"level2/extra": require("../test/level2/extra"), // ok
"level2/events": require("../test/level2/events"), // ok
//"level3/core": require("../test/level3/core"),
//"level3/ls": require("../test/level3/ls"),
"level3/textContent.js": require("../test/level3/textContent.js"), // ok
"level3/xpath": require("../test/level3/xpath"), // 0/93

"living-dom/attributes.js": require("../test/living-dom/attributes.js"), // 0/10
"living-dom/attributes.js": require("../test/living-dom/attributes.js"), // 1/11
"living-dom/compare-document-position.js": require("../test/living-dom/compare-document-position.js"), // 0/20
"living-dom/node-contains.js": require("../test/living-dom/node-contains.js"), // 0/20
"living-dom/node-parent-element.js": require("../test/living-dom/node-parent-element.js"), // 0/11
"living-html/location.js": require("../test/living-html/location.js"), // ok
"living-html/navigator.js": require("../test/living-html/navigator.js"), // 0/2
"living-html/navigator.js": require("../test/living-html/navigator.js"), // ok

"window/history": require("../test/window/history"), // 0/5
"window/history": require("../test/window/history"), // ok
"window/script": require("../test/window/script"), // 0/10
"window/console": require("../test/window/console"), // 0/2
"window/console": require("../test/window/console"), // ok
//"window/frame": require("../test/window/frame"), // fail
//"sizzle/index": require("../test/sizzle/index"), // fail
//"jsdom/index": require("../test/jsdom/index"), // fail
Expand All @@ -48,8 +48,8 @@ self.onmessage = function (e) {
"jsdom/utils": require("../test/jsdom/utils"), // ok
"jsdom/inside-worker-smoke-tests": require("../test/jsdom/inside-worker-smoke-tests"),
"jsonp/jsonp": require("../test/jsonp/jsonp"), // 0/1
"browser/css": require("../test/browser/css"), // 0/1
"browser/index": require("../test/browser/index"), // 30/34
"browser/css": require("../test/browser/css"), // ok
"browser/index": require("../test/browser/index"), // ok
"w3c/index.js": require("../test/w3c/index"), // 0/2
};

Expand All @@ -67,9 +67,16 @@ self.onmessage = function (e) {
"level2/extra",
"level2/events",
"level3/textContent.js",
"window/index",

"living-html/location.js",
"living-html/navigator.js",

"window/history",
"window/console",
"jsdom/utils",
"jsdom/inside-worker-smoke-tests"
"jsdom/inside-worker-smoke-tests",
"browser/css",
"browser/index"
];

if (options.tests) {
Expand Down

0 comments on commit 4546b8d

Please sign in to comment.