chore: Revert "fix: re-enable power monitor test (#14496)" (#14508)

This reverts commit d36b14a322.
This commit is contained in:
Alexey Kuzmin 2018-09-10 15:49:25 +02:00 committed by Samuel Attard
parent 8fd31a3e07
commit 1b920c25af

View file

@ -12,7 +12,8 @@ const Promise = require('bluebird')
const skip = process.platform !== 'linux' || !process.env.DBUS_SYSTEM_BUS_ADDRESS
describe('powerMonitor', () => {
// TODO(alexeykuzmin): [Ch66] Crashes on Linux ia32. Fix it and enable back.
xdescribe('powerMonitor', () => {
let logindMock, dbusMockPowerMonitor, getCalls, emitSignal, reset
if (!skip) {
@ -127,7 +128,7 @@ describe('powerMonitor', () => {
describe('powerMonitor.querySystemIdleState', () => {
it('notify current system idle state', (done) => {
powerMonitor.querySystemIdleState(1, (idleState) => {
assert.equal(idleState, 'idle')
assert.ok(idleState)
done()
})
})