2
0
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:
XhmikosR
2020-11-16 17:23:09 +02:00
parent 9f6b342dc7
commit 51a208f119
11 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -812,7 +812,7 @@ describe('Collapse', () => {
const collapse = new Collapse(div)
expect(Collapse.getInstance(div)).toEqual(collapse)
expect(Collapse.getInstance(div) instanceof Collapse).toEqual(true)
expect(Collapse.getInstance(div)).toBeInstanceOf(Collapse)
})
it('should return null when there is no collapse instance', () => {