🎨 Minor formatting/doc changes
This commit is contained in:
parent
c4e5ba6015
commit
b5879b7399
5 changed files with 31 additions and 36 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue