Skip to content

Commit

Permalink
update qunit to 1.17.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lin7sh committed Jan 22, 2015
1 parent cc7e6fe commit f29a2bc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions examples/qunit_simple/tests.js
@@ -1,8 +1,8 @@
QUnit.test('says hello world', function(){
equal(hello(), 'hello world', 'should equal hello world');
QUnit.test('says hello world', function(assert){
assert.equal(hello(), 'hello world', 'should equal hello world');
});

QUnit.test('says hello to person', function(){
equal(hello('Bob'), 'hello Bob', 'should equal hello Bob');
QUnit.test('says hello to person', function(assert){
assert.equal(hello('Bob'), 'hello Bob', 'should equal hello Bob');
});

4 changes: 2 additions & 2 deletions public/testem/qunit.css
@@ -1,12 +1,12 @@
/*!
* QUnit 1.17.0
* QUnit 1.17.1
* http://qunitjs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2015-01-19T11:58Z
* Date: 2015-01-20T19:39Z
*/

/** Font Family and Sizes */
Expand Down
6 changes: 3 additions & 3 deletions public/testem/qunit.js
@@ -1,12 +1,12 @@
/*!
* QUnit 1.17.0
* QUnit 1.17.1
* http://qunitjs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2015-01-19T11:58Z
* Date: 2015-01-20T19:39Z
*/

(function( window ) {
Expand Down Expand Up @@ -2522,7 +2522,7 @@ function toolbarModuleFilter() {
moduleFilter = document.createElement( "span" ),
moduleFilterHtml = toolbarModuleFilterHtml();

if ( !moduleFilterHtml ) {
if ( !toolbar || !moduleFilterHtml ) {
return false;
}

Expand Down
8 changes: 4 additions & 4 deletions public/testem/qunit_adapter.js
Expand Up @@ -5,8 +5,8 @@ qunit_adapter.js
Testem's QUnit adapter. Works by using QUnit's hooks:
* `begin`
* `done`
* `testStart`
* `testDone`
* `moduleStart`
* `moduleEnd`
* `done`
Expand Down Expand Up @@ -72,15 +72,15 @@ function qunitAdapter(socket){
}

})
QUnit.begin( function(params){
QUnit.testStart( function(params){
currentTest = {
id: id++,
name: (currentModule ? currentModule + ': ' : '') + params.name,
items: []
}
emit('tests-start')
})
QUnit.done( function(params){
QUnit.testDone( function(params){
currentTest.failed = params.failed
currentTest.passed = params.passed
currentTest.total = params.total
Expand Down

0 comments on commit f29a2bc

Please sign in to comment.