Update for reviews
This commit is contained in:
parent
b47d0e3e58
commit
767124c45c
5 changed files with 6 additions and 6 deletions
|
@ -287,7 +287,7 @@ describe('app module', function () {
|
|||
|
||||
describe('app.setBadgeCount API', function () {
|
||||
const shouldFail = process.platform === 'win32' ||
|
||||
(process.platform === 'linux' && app.isUnityRunning())
|
||||
(process.platform === 'linux' && !app.isUnityRunning())
|
||||
|
||||
it('returns false when failed', function () {
|
||||
assert.equal(app.setBadgeCount(42), !shouldFail)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue