mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-16 18:44:01 +02:00
tests: tweak Jasmine usage (#32046)
* jasmine/expect-matcher * jasmine/prefer-jasmine-matcher Found with `eslint-plugin-jasmine`
This commit is contained in:
@@ -637,7 +637,7 @@ describe('Modal', () => {
|
||||
modalEl.addEventListener('shown.bs.modal', () => {
|
||||
modalEl.click()
|
||||
setTimeout(() => {
|
||||
expect(modalEl.clientHeight === modalEl.scrollHeight).toEqual(true)
|
||||
expect(modalEl.clientHeight).toEqual(modalEl.scrollHeight)
|
||||
done()
|
||||
}, 20)
|
||||
})
|
||||
|
Reference in New Issue
Block a user