This commit is contained in:
Ted Kim 2017-11-20 10:17:34 +09:00
parent 1660fc8d13
commit 71c16ad76f

View file

@ -368,7 +368,7 @@ describe('app module', () => {
app.setLoginItemSettings({}) app.setLoginItemSettings({})
// Wait because login item settings are not applied immediately in MAS build // Wait because login item settings are not applied immediately in MAS build
const delay = process.mas ? 100 : 0; const delay = process.mas ? 100 : 0
setTimeout(() => { setTimeout(() => {
assert.deepEqual(app.getLoginItemSettings(), { assert.deepEqual(app.getLoginItemSettings(), {
openAtLogin: false, openAtLogin: false,
@ -378,7 +378,7 @@ describe('app module', () => {
restoreState: false restoreState: false
}) })
done() done()
}, delay); }, delay)
}) })
it('allows you to pass a custom executable and arguments', () => { it('allows you to pass a custom executable and arguments', () => {