Enable process resource test

This commit is contained in:
Samuel Attard 2018-06-18 14:00:17 +10:00
parent e70b93ad91
commit 10e0d9b198

View file

@ -796,8 +796,7 @@ describe('app module', () => {
}) })
describe('getAppMetrics() API', () => { describe('getAppMetrics() API', () => {
// TODO(alexeykuzmin): [Ch66] Enable the test. it('returns memory and cpu stats of all running electron processes', () => {
xit('returns memory and cpu stats of all running electron processes', () => {
const appMetrics = app.getAppMetrics() const appMetrics = app.getAppMetrics()
expect(appMetrics).to.be.an('array').and.have.lengthOf.at.least(1, 'App memory info object is not > 0') expect(appMetrics).to.be.an('array').and.have.lengthOf.at.least(1, 'App memory info object is not > 0')