mirror of
https://github.com/electron/electron.git
synced 2026-01-28 08:48:14 -05:00
Enable process resource test
This commit is contained in:
@@ -796,8 +796,7 @@ describe('app module', () => {
|
||||
})
|
||||
|
||||
describe('getAppMetrics() API', () => {
|
||||
// TODO(alexeykuzmin): [Ch66] Enable the test.
|
||||
xit('returns memory and cpu stats of all running electron processes', () => {
|
||||
it('returns memory and cpu stats of all running electron processes', () => {
|
||||
const appMetrics = app.getAppMetrics()
|
||||
expect(appMetrics).to.be.an('array').and.have.lengthOf.at.least(1, 'App memory info object is not > 0')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user