Implement moveToApplicationsFolder (#10142)
* Implement moveToApplicationsFolder * Fix tabs / spaces * Fix linting * Use Browser::Quit, instead of exit * Update documentation as per feedback * Fix spec
This commit is contained in:
parent
14eea98566
commit
6b010614e2
7 changed files with 440 additions and 0 deletions
|
@ -114,6 +114,14 @@ describe('app module', function () {
|
|||
})
|
||||
})
|
||||
|
||||
describe('app.isInApplicationsFolder()', function () {
|
||||
it('should be false during tests', function () {
|
||||
if (process.platform !== 'darwin') return
|
||||
|
||||
assert.equal(app.isInApplicationsFolder(), false)
|
||||
})
|
||||
})
|
||||
|
||||
describe('app.exit(exitCode)', function () {
|
||||
var appProcess = null
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue