fixing mac ut failure
This commit is contained in:
parent
3d12440a4a
commit
81bd9fa3a2
2 changed files with 5 additions and 2 deletions
|
@ -539,7 +539,8 @@ describe('app module', 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].memory.privateBytes > 0, 'private bytes is not > 0')
|
||||
assert.ok(appMemoryInfo[0].memory.sharedBytes > 0, 'shared bytes is not > 0')
|
||||
assert.ok(appMemoryInfo[0].pid > 0, 'pid is not > 0')
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue