1
0
mirror of synced 2024-11-22 13:06:08 +03:00
select2/tests/helpers.js
Kevin Brown ff70255c66 Remove old saucelabs bridge
We no longer test on saucelabs because their service was spotty at
times, so we no longer need this additional logging.
2019-08-21 22:43:24 -04:00

22 lines
453 B
JavaScript

// Restore the require/define
var require = $.fn.select2.amd.require;
var define = $.fn.select2.amd.define;
// Disable jQuery's binding to $
jQuery.noConflict();
var Utils = require('select2/utils');
function MockContainer () {
MockContainer.__super__.constructor.call(this);
}
Utils.Extend(MockContainer, Utils.Observable);
MockContainer.prototype.isOpen = function () {
return this.isOpen;
};
define('qunit', function () {
return QUnit;
})