mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 21:31:04 +08:00
Upgrade QUnit to latest version
This commit is contained in:
@ -8,14 +8,6 @@ function count(selector) {
|
||||
return find(selector).length;
|
||||
}
|
||||
|
||||
function containsInstance(collection, klass, text) {
|
||||
ok(klass.detectInstance(_.first(collection)), text);
|
||||
}
|
||||
|
||||
function not(state, message) {
|
||||
ok(!state, message);
|
||||
}
|
||||
|
||||
function visible(selector) {
|
||||
return find(selector + ":visible").length > 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user