💄 Restore old settings in app specs.
This commit is contained in:
parent
623e0f3ae4
commit
0a63395b0f
2 changed files with 2 additions and 1 deletions
|
@ -80,7 +80,6 @@ callFunction = (event, processId, routingId, func, caller, args) ->
|
|||
|
||||
# Send by BrowserWindow when its render view is deleted.
|
||||
process.on 'ATOM_BROWSER_RELEASE_RENDER_VIEW', (processId, routingId) ->
|
||||
console.log 'ATOM_BROWSER_RELEASE_RENDER_VIEW', processId, routingId
|
||||
objectsRegistry.clear processId, routingId
|
||||
|
||||
ipc.on 'ATOM_BROWSER_REQUIRE', (event, processId, routingId, module) ->
|
||||
|
|
|
@ -11,6 +11,7 @@ describe 'app module', ->
|
|||
assert.equal app.getVersion(), '0.1.0'
|
||||
app.setVersion 'test-version'
|
||||
assert.equal app.getVersion(), 'test-version'
|
||||
app.setVersion '0.1.0'
|
||||
|
||||
describe 'app.getName()', ->
|
||||
it 'returns the name field of package.json', ->
|
||||
|
@ -21,3 +22,4 @@ describe 'app module', ->
|
|||
assert.equal app.getName(), 'atom-shell-default-app'
|
||||
app.setName 'test-name'
|
||||
assert.equal app.getName(), 'test-name'
|
||||
app.setName 'atom-shell-default-app'
|
||||
|
|
Loading…
Add table
Reference in a new issue