mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
remove badge after setBadgeCount test finishes
This commit is contained in:
@@ -285,6 +285,7 @@ describe('app module', function () {
|
||||
it('should set a badge count', function () {
|
||||
app.setBadgeCount(42)
|
||||
assert.equal(app.getBadgeCount(), shouldFail ? 0 : 42)
|
||||
app.setBadgeCount(0)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user