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