diff options
author | XhmikosR <xhmikosr@gmail.com> | 2020-11-02 17:13:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-02 17:13:24 +0300 |
commit | c9f8fa45fb821d700c1f2e0eea8cf03a87a0ee70 (patch) | |
tree | d3c1d30ce18294c05f3b6de915be512615491c7a /js/tests/unit/modal.spec.js | |
parent | e2697b05733e2b8a88d35912d604644862d609b4 (diff) |
tests: tweak Jasmine usage (#32046)
* jasmine/expect-matcher
* jasmine/prefer-jasmine-matcher
Found with `eslint-plugin-jasmine`
Diffstat (limited to 'js/tests/unit/modal.spec.js')
-rw-r--r-- | js/tests/unit/modal.spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/unit/modal.spec.js b/js/tests/unit/modal.spec.js index 253f935135..9ed1fc4348 100644 --- a/js/tests/unit/modal.spec.js +++ b/js/tests/unit/modal.spec.js @@ -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) }) |