aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-electron_spec_api-power-monitor-spec.ts
blob: 7dccb7c9c5b533f51f0872ce8b35437d1d2d0581 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- electron/spec/api-power-monitor-spec.ts.orig	2024-10-09 13:53:06 UTC
+++ electron/spec/api-power-monitor-spec.ts
@@ -18,7 +18,7 @@ describe('powerMonitor', () => {
 describe('powerMonitor', () => {
   let logindMock: any, dbusMockPowerMonitor: any, getCalls: any, emitSignal: any, reset: any;
 
-  ifdescribe(process.platform === 'linux' && process.env.DBUS_SYSTEM_BUS_ADDRESS != null)('when powerMonitor module is loaded with dbus mock', () => {
+  ifdescribe((process.platform === 'linux' || process.platform === 'freebsd') && process.env.DBUS_SYSTEM_BUS_ADDRESS != null)('when powerMonitor module is loaded with dbus mock', () => {
     before(async () => {
       const systemBus = dbus.systemBus();
       const loginService = systemBus.getService('org.freedesktop.login1');