FINAL suepr merge step : added all modules to this super repos
This commit is contained in:
21
sites/all/modules/contrib/js/qunit/qunit.admin.js
Normal file
21
sites/all/modules/contrib/js/qunit/qunit.admin.js
Normal file
@@ -0,0 +1,21 @@
|
||||
(function($) {
|
||||
|
||||
/**
|
||||
* Provide a Drupal-specific wrapper for the QUnit JavaScript test framework.
|
||||
*/
|
||||
Drupal.tests = Drupal.tests || {};
|
||||
|
||||
Drupal.behaviors.runTests = {
|
||||
attach: function(context, settings) {
|
||||
var index;
|
||||
var loaded = 0;
|
||||
for (index in Drupal.tests) {
|
||||
var testCase = Drupal.tests[index];
|
||||
var info = testCase.getInfo();
|
||||
module(info.group, testCase);
|
||||
test(info.name, testCase.test);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user