Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-11-16 18:23:09 +0300
committerXhmikosR <xhmikosr@gmail.com>2020-11-29 21:58:26 +0300
commit51a208f119522f8618801a6e61ff8d47cf89d4cf (patch)
treeb36778f37d9e3d90bbf42474a1d9d18b20ada494 /js/tests/unit/alert.spec.js
parent9f6b342dc710e4334b37ded90136efa1127a47cd (diff)
Switch to Jasmine's `toBeInstanceOf` matcher
Diffstat (limited to 'js/tests/unit/alert.spec.js')
-rw-r--r--js/tests/unit/alert.spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/unit/alert.spec.js b/js/tests/unit/alert.spec.js
index 52643e575d..a1322f1c7b 100644
--- a/js/tests/unit/alert.spec.js
+++ b/js/tests/unit/alert.spec.js
@@ -179,7 +179,7 @@ describe('Alert', () => {
const alert = new Alert(div)
expect(Alert.getInstance(div)).toEqual(alert)
- expect(Alert.getInstance(div) instanceof Alert).toEqual(true)
+ expect(Alert.getInstance(div)).toBeInstanceOf(Alert)
})
it('should return null when there is no alert instance', () => {