Permalink
Browse files

Tests:Build: update qunit and fix incorrect test

* Update QUnit to the latest version (1.20.0)

* Corrected test was dependent on QUnit UI, which is always a bad idea
  • Loading branch information...
1 parent f0f4ef7 commit b97c8d30c5aedace75dc17056d429f28e41b20c1 @markelog markelog committed Jan 29, 2016
Showing with 2,352 additions and 1,989 deletions.
  1. +17 −7 external/qunit/qunit.css
  2. +2,309 −1,979 external/qunit/qunit.js
  3. +1 −1 package.json
  4. +25 −2 test/unit/traversing.js
@@ -1,27 +1,27 @@
/*!
- * QUnit 1.18.0
+ * QUnit 1.20.0
* http://qunitjs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
- * Date: 2015-04-03T10:23Z
+ * Date: 2015-10-27T17:53Z
*/
/** Font Family and Sizes */
-#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
+#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-filteredTest, #qunit-userAgent, #qunit-testresult {
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
}
-#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
+#qunit-testrunner-toolbar, #qunit-filteredTest, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
#qunit-tests { font-size: smaller; }
/** Resets */
-#qunit-tests, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter {
+#qunit-tests, #qunit-header, #qunit-banner, #qunit-filteredTest, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter {
margin: 0;
padding: 0;
}
@@ -68,6 +68,12 @@
overflow: hidden;
}
+#qunit-filteredTest {
+ padding: 0.5em 1em 0.5em 1em;
+ background-color: #F4FF77;
+ color: #366097;
+}
+
#qunit-userAgent {
padding: 0.5em 1em 0.5em 1em;
background-color: #2B81AF;
@@ -118,8 +124,8 @@
#qunit-tests.hidepass li.pass {
visibility: hidden;
position: absolute;
- width: 0px;
- height: 0px;
+ width: 0;
+ height: 0;
padding: 0;
border: 0;
margin: 0;
@@ -162,6 +168,10 @@
border-radius: 5px;
}
+.qunit-source {
+ margin: 0.6em 0 0.3em;
+}
+
.qunit-collapsed {
display: none;
}
Oops, something went wrong.

1 comment on commit b97c8d3

@mgol
Member
mgol commented on b97c8d3 Jan 29, 2016

Thanks, @markelog. :) I didn't have time to properly investigate last time.

Please sign in to comment.