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:
@@ -1070,7 +1070,7 @@ describe('Carousel', () => {
|
||||
const carousel = new Carousel(div)
|
||||
|
||||
expect(Carousel.getInstance(div)).toEqual(carousel)
|
||||
expect(Carousel.getInstance(div) instanceof Carousel).toEqual(true)
|
||||
expect(Carousel.getInstance(div)).toBeInstanceOf(Carousel)
|
||||
})
|
||||
|
||||
it('should return null when there is no carousel instance', () => {
|
||||
|
||||
Reference in New Issue
Block a user