mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-16 18:44:01 +02:00
Switch to Jasmine's toBeInstanceOf
matcher
This commit is contained in:
@@ -1612,7 +1612,7 @@ describe('Dropdown', () => {
|
||||
const dropdown = new Dropdown(div)
|
||||
|
||||
expect(Dropdown.getInstance(div)).toEqual(dropdown)
|
||||
expect(Dropdown.getInstance(div) instanceof Dropdown).toEqual(true)
|
||||
expect(Dropdown.getInstance(div)).toBeInstanceOf(Dropdown)
|
||||
})
|
||||
|
||||
it('should return null when there is no dropdown instance', () => {
|
||||
|
Reference in New Issue
Block a user