diff options
Diffstat (limited to 'js/tests/unit/alert.spec.js')
-rw-r--r-- | js/tests/unit/alert.spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/unit/alert.spec.js b/js/tests/unit/alert.spec.js index 52643e575d..a1322f1c7b 100644 --- a/js/tests/unit/alert.spec.js +++ b/js/tests/unit/alert.spec.js @@ -179,7 +179,7 @@ describe('Alert', () => { const alert = new Alert(div) expect(Alert.getInstance(div)).toEqual(alert) - expect(Alert.getInstance(div) instanceof Alert).toEqual(true) + expect(Alert.getInstance(div)).toBeInstanceOf(Alert) }) it('should return null when there is no alert instance', () => { |