diff options
Diffstat (limited to 'js/tests/README.md')
-rw-r--r-- | js/tests/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/README.md b/js/tests/README.md index f614499b49..1e96a6b5da 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() }) |