test: improve test coverage alert (#192)
This commit is contained in:
@@ -32,5 +32,7 @@ describe('Alerts.vue', () => {
|
|||||||
expect(Alerts.methods.showAlert()).toBeUndefined()
|
expect(Alerts.methods.showAlert()).toBeUndefined()
|
||||||
expect(typeof Alerts.methods.countDownChanged ).toEqual('function')
|
expect(typeof Alerts.methods.countDownChanged ).toEqual('function')
|
||||||
expect(Alerts.methods.countDownChanged(10)).toBeUndefined()
|
expect(Alerts.methods.countDownChanged(10)).toBeUndefined()
|
||||||
|
expect(typeof Alerts.methods.showDismissibleAlerts ).toEqual('function')
|
||||||
|
expect(Alerts.methods.showDismissibleAlerts()).toBeUndefined()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user