mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
create a base component
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user