aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/tab.js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-02-26 13:20:34 +0200
committerXhmikosR <[email protected]>2019-03-11 17:01:28 +0200
commit46c037410b8c7eaab3cf50a5cf44093aa2fd41f4 (patch)
treecb8c857562c4d3f819a5a8fcc563bc8f2c126e4e /js/tests/unit/tab.js
parent44e6abcba50309df4fae56a9c7ef79145b64a356 (diff)
downloadbootstrap-46c037410b8c7eaab3cf50a5cf44093aa2fd41f4.tar.xz
bootstrap-46c037410b8c7eaab3cf50a5cf44093aa2fd41f4.zip
Comply to the new rules.
Diffstat (limited to 'js/tests/unit/tab.js')
-rw-r--r--js/tests/unit/tab.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tests/unit/tab.js b/js/tests/unit/tab.js
index 0675126f8..827fb707c 100644
--- a/js/tests/unit/tab.js
+++ b/js/tests/unit/tab.js
@@ -33,8 +33,8 @@ $(function () {
$el.bootstrapTab()
try {
$el.bootstrapTab('noMethod')
- } catch (err) {
- assert.strictEqual(err.message, 'No method named "noMethod"')
+ } catch (error) {
+ assert.strictEqual(error.message, 'No method named "noMethod"')
}
})
@@ -96,7 +96,7 @@ $(function () {
QUnit.test('should activate element by tab id in nav list', function (assert) {
assert.expect(2)
- var tabsHTML = '<nav class="nav">' +
+ var tabsHTML = '<nav class="nav">' +
'<a href="#home">Home</a>' +
'<a href="#profile">Profile</a>' +
'</nav>'
@@ -112,7 +112,7 @@ $(function () {
QUnit.test('should activate element by tab id in list group', function (assert) {
assert.expect(2)
- var tabsHTML = '<div class="list-group">' +
+ var tabsHTML = '<div class="list-group">' +
'<a href="#home">Home</a>' +
'<a href="#profile">Profile</a>' +
'</div>'