Fix test failure
This commit is contained in:
parent
ada71eea39
commit
d9481430df
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ describe('app module', () => {
|
||||||
app.setLoginItemSettings({openAtLogin: true, openAsHidden: true})
|
app.setLoginItemSettings({openAtLogin: true, openAsHidden: true})
|
||||||
assert.deepEqual(app.getLoginItemSettings(), {
|
assert.deepEqual(app.getLoginItemSettings(), {
|
||||||
openAtLogin: true,
|
openAtLogin: true,
|
||||||
openAsHidden: process.platform === 'darwin', // Only available on macOS
|
openAsHidden: process.platform === 'darwin' && !process.mas, // Only available on macOS
|
||||||
wasOpenedAtLogin: false,
|
wasOpenedAtLogin: false,
|
||||||
wasOpenedAsHidden: false,
|
wasOpenedAsHidden: false,
|
||||||
restoreState: false
|
restoreState: false
|
||||||
|
|
Loading…
Reference in a new issue