mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Switch to Jasmine's toBeInstanceOf matcher
This commit is contained in:
@@ -253,7 +253,7 @@ describe('Popover', () => {
|
||||
const popover = new Popover(popoverEl)
|
||||
|
||||
expect(Popover.getInstance(popoverEl)).toEqual(popover)
|
||||
expect(Popover.getInstance(popoverEl) instanceof Popover).toEqual(true)
|
||||
expect(Popover.getInstance(popoverEl)).toBeInstanceOf(Popover)
|
||||
})
|
||||
|
||||
it('should return null when there is no popover instance', () => {
|
||||
|
||||
Reference in New Issue
Block a user