1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-17 19:06:40 +02:00

Switch to Jasmine's toBeInstanceOf matcher

This commit is contained in:
XhmikosR
2020-11-16 17:23:09 +02:00
parent 9f6b342dc7
commit 51a208f119
11 changed files with 11 additions and 11 deletions

View File

@@ -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', () => {