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:
authorJohann-S <johann.servoire@gmail.com>2019-09-04 17:58:29 +0300
committerXhmikosR <xhmikosr@gmail.com>2020-11-29 21:58:26 +0300
commit9f6b342dc710e4334b37ded90136efa1127a47cd (patch)
treecb5d8c8bddf356dd3f8c2289b99e9f9793fba6c7 /js/tests/unit/dropdown.spec.js
parentc63aebc86ba05f0ebb420add653b80804c6a0cff (diff)
create a base component
Diffstat (limited to 'js/tests/unit/dropdown.spec.js')
-rw-r--r--js/tests/unit/dropdown.spec.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/tests/unit/dropdown.spec.js b/js/tests/unit/dropdown.spec.js
index f5f41636cd..96f677c02c 100644
--- a/js/tests/unit/dropdown.spec.js
+++ b/js/tests/unit/dropdown.spec.js
@@ -1612,6 +1612,7 @@ describe('Dropdown', () => {
const dropdown = new Dropdown(div)
expect(Dropdown.getInstance(div)).toEqual(dropdown)
+ expect(Dropdown.getInstance(div) instanceof Dropdown).toEqual(true)
})
it('should return null when there is no dropdown instance', () => {