Created
July 27, 2014 12:27
-
-
Save ImanMh/485ef78bd78e8843c8a8 to your computer and use it in GitHub Desktop.
Qunit missing pending test feature
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QUnit.pending = function() { | |
QUnit.test('(Pending...) ' + arguments[0], function() { | |
QUnit.expect(0);//dont expect any tests | |
var li = document.getElementById(QUnit.config.current.id); | |
QUnit.done(function() { | |
li.style.background = '#FFFF99'; | |
}); | |
}); | |
}; | |
pending = QUnit.pending; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment