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