From e785629c99f774df3da1f42fd284e818e0c5e8eb Mon Sep 17 00:00:00 2001 From: Ganjar Setia M Date: Wed, 26 Feb 2020 20:27:10 +0700 Subject: [PATCH] test: improve test coverage alert (#192) --- tests/unit/views/notifications/Alerts.spec.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit/views/notifications/Alerts.spec.js b/tests/unit/views/notifications/Alerts.spec.js index 215163c9..8fdadb8d 100644 --- a/tests/unit/views/notifications/Alerts.spec.js +++ b/tests/unit/views/notifications/Alerts.spec.js @@ -32,5 +32,7 @@ describe('Alerts.vue', () => { expect(Alerts.methods.showAlert()).toBeUndefined() expect(typeof Alerts.methods.countDownChanged ).toEqual('function') expect(Alerts.methods.countDownChanged(10)).toBeUndefined() + expect(typeof Alerts.methods.showDismissibleAlerts ).toEqual('function') + expect(Alerts.methods.showDismissibleAlerts()).toBeUndefined() }) })