mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
Finally, after a long wait, an electron port for FreeBSD lands in the portstree. A huge thanks to everyone contributed to this huge effort and to the maintainer that is willing to take the burden of the maintainership!
11 lines
526 B
JavaScript
11 lines
526 B
JavaScript
--- electron/spec/api-power-monitor-spec.js.orig 2019-05-14 03:07:38 UTC
|
|
+++ electron/spec/api-power-monitor-spec.js
|
|
@@ -14,7 +14,7 @@ const Promise = require('bluebird')
|
|
const { expect } = chai
|
|
chai.use(dirtyChai)
|
|
|
|
-const skip = process.platform !== 'linux' || !process.env.DBUS_SYSTEM_BUS_ADDRESS
|
|
+const skip = (process.platform !== 'linux' && process.platform === 'freebsd') || !process.env.DBUS_SYSTEM_BUS_ADDRESS
|
|
|
|
describe('powerMonitor', () => {
|
|
let logindMock, dbusMockPowerMonitor, getCalls, emitSignal, reset
|