aboutsummaryrefslogtreecommitdiff
path: root/js/tests/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'js/tests/README.md')
-rw-r--r--js/tests/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/README.md b/js/tests/README.md
index f614499b4..1e96a6b5d 100644
--- a/js/tests/README.md
+++ b/js/tests/README.md
@@ -61,7 +61,7 @@ it('should show a tooltip without the animation', done => {
tooltipEl.addEventListener('shown.bs.tooltip', () => {
const tip = document.querySelector('.tooltip')
- expect(tip).toBeDefined()
+ expect(tip).not.toBeNull()
expect(tip.classList.contains('fade')).toEqual(false)
done()
})