mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-10 23:54:08 +02:00
create a base component
This commit is contained in:
@@ -812,6 +812,7 @@ describe('Collapse', () => {
|
||||
const collapse = new Collapse(div)
|
||||
|
||||
expect(Collapse.getInstance(div)).toEqual(collapse)
|
||||
expect(Collapse.getInstance(div) instanceof Collapse).toEqual(true)
|
||||
})
|
||||
|
||||
it('should return null when there is no collapse instance', () => {
|
||||
|
Reference in New Issue
Block a user