lint
This commit is contained in:
parent
1660fc8d13
commit
71c16ad76f
1 changed files with 2 additions and 2 deletions
|
@ -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', () => {
|
||||||
|
|
Loading…
Reference in a new issue