Fixing lint error

This commit is contained in:
Hari Krishna Reddy Juturu 2017-04-27 08:38:17 -07:00
parent 27aad902b8
commit d77c1319f4

View file

@ -532,15 +532,15 @@ describe('app module', function () {
})
})
})
})
describe('getAppMemoryInfo API', function () {
it('returns the process memory of all running electron processes', function () {
const appMemoryInfo = app.getAppMemoryInfo();
assert.ok(appMemoryInfo.length > 0, 'App memory info object is not > 0')
assert.ok(appMemoryInfo[0].memory.workingSetSize > 0, 'working set size is not > 0')
assert.ok(appMemoryInfo[0].memory.peakWorkingSetSize > 0, 'peak working set size is not > 0')
assert.ok(appMemoryInfo[0].pid > 0, 'pid is not > 0')
})
describe.only('getAppMemoryInfo() API', function () {
it('returns the process memory of all running electron processes', function () {
const appMemoryInfo = app.getAppMemoryInfo()
assert.ok(appMemoryInfo.length > 0, 'App memory info object is not > 0')
assert.ok(appMemoryInfo[0].memory.workingSetSize > 0, 'working set size is not > 0')
assert.ok(appMemoryInfo[0].memory.peakWorkingSetSize > 0, 'peak working set size is not > 0')
assert.ok(appMemoryInfo[0].pid > 0, 'pid is not > 0')
})
})
})