diff options
author | Johann-S <johann.servoire@gmail.com> | 2019-09-04 17:58:29 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2020-11-29 21:58:26 +0300 |
commit | 9f6b342dc710e4334b37ded90136efa1127a47cd (patch) | |
tree | cb5d8c8bddf356dd3f8c2289b99e9f9793fba6c7 /js/tests/unit/modal.spec.js | |
parent | c63aebc86ba05f0ebb420add653b80804c6a0cff (diff) |
create a base component
Diffstat (limited to 'js/tests/unit/modal.spec.js')
-rw-r--r-- | js/tests/unit/modal.spec.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/tests/unit/modal.spec.js b/js/tests/unit/modal.spec.js index 084f78ad14..8e8d4f0ff6 100644 --- a/js/tests/unit/modal.spec.js +++ b/js/tests/unit/modal.spec.js @@ -1108,6 +1108,7 @@ describe('Modal', () => { const modal = new Modal(div) expect(Modal.getInstance(div)).toEqual(modal) + expect(Modal.getInstance(div) instanceof Modal).toEqual(true) }) it('should return null when there is no modal instance', () => { |