From be9e6f3638b00c0c79c6fb06a83f6b07edb865c0 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 4 Oct 2017 15:03:06 +0300 Subject: [PATCH] Update modal.js --- js/tests/unit/modal.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/tests/unit/modal.js b/js/tests/unit/modal.js index d55a552ade..e081a6dc25 100644 --- a/js/tests/unit/modal.js +++ b/js/tests/unit/modal.js @@ -684,6 +684,9 @@ $(function () { }).on('hidden.bs.modal', function () { assert.strictEqual(count, 1, 'show() runs only once') done() - }).bootstrapModal('show').bootstrapModal('show').bootstrapModal('hide') + }) + .bootstrapModal('show') + .bootstrapModal('show') + .bootstrapModal('hide') }) }) -- 2.47.2