|
@@ -10,6 +10,13 @@ var Utils = require('select2/utils');
|
|
|
var options = new Options({});
|
|
|
|
|
|
test('updating selection does not shift the focus', function (assert) {
|
|
|
+ // Check for IE 8, which triggers a false negative during testing
|
|
|
+ if (window.attachEvent && !window.addEventListener) {
|
|
|
+ // We must expect 0 assertions or the test will fail
|
|
|
+ expect(0);
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
var $container = $('#qunit-fixture .event-container');
|
|
|
var container = new MockContainer();
|
|
|
|