From 5f79b75ea8a086841f8aa76f1db6d6c830b98465 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 8 May 2020 16:36:20 +0300 Subject: [PATCH] tests: switch to strictEqual/notStrictEqual --- js/tests/unit/alert.js | 2 +- js/tests/unit/modal.js | 10 +++++----- js/tests/unit/popover.js | 22 +++++++++++----------- js/tests/unit/tooltip.js | 12 ++++++------ js/tests/unit/util.js | 8 ++++---- 5 files changed, 27 insertions(+), 27 deletions(-) diff --git a/js/tests/unit/alert.js b/js/tests/unit/alert.js index 65a8f9e767..0d89d5f53d 100644 --- a/js/tests/unit/alert.js +++ b/js/tests/unit/alert.js @@ -56,7 +56,7 @@ $(function () { '' var $alert = $(alertHTML).appendTo('#qunit-fixture').bootstrapAlert() - assert.notEqual($('#qunit-fixture').find('.alert').length, 0, 'element added to dom') + assert.notStrictEqual($('#qunit-fixture').find('.alert').length, 0, 'element added to dom') $alert .one('closed.bs.alert', function () { diff --git a/js/tests/unit/modal.js b/js/tests/unit/modal.js index 14cebe84f3..95c3340328 100644 --- a/js/tests/unit/modal.js +++ b/js/tests/unit/modal.js @@ -68,7 +68,7 @@ $(function () { $('