Merge pull request #2800 from seanchas116/app-getlocale
App app.getLocale() API to get application locale
This commit is contained in:
commit
ec7ea3005d
4 changed files with 15 additions and 0 deletions
|
@ -26,6 +26,10 @@ describe 'app module', ->
|
|||
assert.equal app.getName(), 'test-name'
|
||||
app.setName 'Electron Test'
|
||||
|
||||
describe 'app.getLocale()', ->
|
||||
it 'should not be empty', ->
|
||||
assert.notEqual app.getLocale(), ''
|
||||
|
||||
describe 'BrowserWindow events', ->
|
||||
w = null
|
||||
afterEach ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue