diff --git a/js/tests/unit/tab.js b/js/tests/unit/tab.js index a79e3c634788..1fecb0bd923a 100644 --- a/js/tests/unit/tab.js +++ b/js/tests/unit/tab.js @@ -27,7 +27,7 @@ $(function () { QUnit.test('should throw explicit error on undefined method', function (assert) { assert.expect(1) - var $el = $('
') + var $el = $('
') $el.bootstrapTab() try { $el.bootstrapTab('noMethod') @@ -38,7 +38,7 @@ $(function () { QUnit.test('should return jquery collection containing the element', function (assert) { assert.expect(2) - var $el = $('
') + var $el = $('
') var $tab = $el.bootstrapTab() assert.ok($tab instanceof $, 'returns jquery collection') assert.strictEqual($tab[0], $el[0], 'collection contains element') @@ -51,7 +51,7 @@ $(function () { '
  • ' + '' - $('').appendTo('#qunit-fixture') + $('').appendTo('#qunit-fixture') $(tabsHTML).find('li:last-child button').bootstrapTab('show') assert.strictEqual($('#qunit-fixture').find('.active').attr('id'), 'profile') @@ -67,7 +67,7 @@ $(function () { '
  • Profile
  • ' + '' - $('').appendTo('#qunit-fixture') + $('').appendTo('#qunit-fixture') $(tabsHTML).find('li:last-child a').bootstrapTab('show') assert.strictEqual($('#qunit-fixture').find('.active').attr('id'), 'profile') @@ -83,7 +83,7 @@ $(function () { '
  • Profile
  • ' + '' - $('').appendTo('#qunit-fixture') + $('').appendTo('#qunit-fixture') $(pillsHTML).find('li:last-child a').bootstrapTab('show') assert.strictEqual($('#qunit-fixture').find('.active').attr('id'), 'profile') @@ -99,7 +99,7 @@ $(function () { '
  • ' + '' - $('
    ').appendTo('#qunit-fixture') + $('
    ').appendTo('#qunit-fixture') $(pillsHTML).find('li:last-child button').bootstrapTab('show') assert.strictEqual($('#qunit-fixture').find('.active').attr('id'), 'profile') @@ -144,7 +144,7 @@ $(function () { assert.expect(1) var done = assert.async() - $('