mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
Switch to Jasmine's toBeInstanceOf matcher
This commit is contained in:
@@ -1038,7 +1038,7 @@ describe('Tooltip', () => {
|
||||
const alert = new Tooltip(div)
|
||||
|
||||
expect(Tooltip.getInstance(div)).toEqual(alert)
|
||||
expect(Tooltip.getInstance(div) instanceof Tooltip).toEqual(true)
|
||||
expect(Tooltip.getInstance(div)).toBeInstanceOf(Tooltip)
|
||||
})
|
||||
|
||||
it('should return null when there is no tooltip instance', () => {
|
||||
|
||||
Reference in New Issue
Block a user