aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/alert.js
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-02-23 22:41:08 -0800
committerChris Rebert <[email protected]>2015-02-23 22:43:17 -0800
commit9c75c855c6bba0e9ef9facc7c948612cd0c2a855 (patch)
tree6c9e9a7cb2897a684b38cd4e69193d4286564563 /js/tests/unit/alert.js
parent118b8c2695d026f1cad6cffc177d9672d9903ce9 (diff)
downloadbootstrap-9c75c855c6bba0e9ef9facc7c948612cd0c2a855.tar.xz
bootstrap-9c75c855c6bba0e9ef9facc7c948612cd0c2a855.zip
JS unit tests: equal() => strictEqual()
[skip validator]
Diffstat (limited to 'js/tests/unit/alert.js')
-rw-r--r--js/tests/unit/alert.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/alert.js b/js/tests/unit/alert.js
index 5e275584a..dc9235c77 100644
--- a/js/tests/unit/alert.js
+++ b/js/tests/unit/alert.js
@@ -38,7 +38,7 @@ $(function () {
$alert.find('.close').click()
- assert.equal($alert.hasClass('in'), false, 'remove .in class on .close click')
+ assert.strictEqual($alert.hasClass('in'), false, 'remove .in class on .close click')
})
QUnit.test('should remove element when clicking .close', function (assert) {
@@ -52,7 +52,7 @@ $(function () {
$alert.find('.close').click()
- assert.equal($('#qunit-fixture').find('.alert').length, 0, 'element removed from dom')
+ assert.strictEqual($('#qunit-fixture').find('.alert').length, 0, 'element removed from dom')
})
QUnit.test('should not fire closed when close is prevented', function (assert) {