fix: re-enable power monitor test (#14496)
This commit is contained in:
parent
27a33cc1cf
commit
d36b14a322
1 changed files with 2 additions and 3 deletions
|
@ -12,8 +12,7 @@ const Promise = require('bluebird')
|
|||
|
||||
const skip = process.platform !== 'linux' || !process.env.DBUS_SYSTEM_BUS_ADDRESS
|
||||
|
||||
// TODO(alexeykuzmin): [Ch66] Crashes on Linux ia32. Fix it and enable back.
|
||||
xdescribe('powerMonitor', () => {
|
||||
describe('powerMonitor', () => {
|
||||
let logindMock, dbusMockPowerMonitor, getCalls, emitSignal, reset
|
||||
|
||||
if (!skip) {
|
||||
|
@ -128,7 +127,7 @@ xdescribe('powerMonitor', () => {
|
|||
describe('powerMonitor.querySystemIdleState', () => {
|
||||
it('notify current system idle state', (done) => {
|
||||
powerMonitor.querySystemIdleState(1, (idleState) => {
|
||||
assert.ok(idleState)
|
||||
assert.equal(idleState, 'idle')
|
||||
done()
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue