🎨 Minor formatting/doc changes

This commit is contained in:
Kevin Sawicki 2017-05-26 07:51:17 -07:00
parent c4e5ba6015
commit b5879b7399
5 changed files with 31 additions and 36 deletions

View file

@ -535,7 +535,7 @@ describe('app module', function () {
})
describe('getAppMetrics() API', function () {
it('returns the process memory of all running electron processes', function () {
it('returns memory and cpu stats of all running electron processes', function () {
const appMetrics = app.getAppMetrics()
assert.ok(appMetrics.length > 0, 'App memory info object is not > 0')
for (const {memory, pid, type, cpu} of appMetrics) {