Skip to content

Instantly share code, notes, and snippets.

@ImanMh
Created July 27, 2014 12:27
Show Gist options
  • Save ImanMh/485ef78bd78e8843c8a8 to your computer and use it in GitHub Desktop.
Save ImanMh/485ef78bd78e8843c8a8 to your computer and use it in GitHub Desktop.
Qunit missing pending test feature
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