opnsense-ports/devel/electron32/files/patch-electron_spec_api-tray-spec.ts
Franco Fichtner fd3bf1794a */*: sync with upstream
Taken from: FreeBSD
2024-09-23 09:02:17 +02:00

11 lines
573 B
TypeScript

--- electron/spec/api-tray-spec.ts.orig 2023-12-04 18:19:02 UTC
+++ electron/spec/api-tray-spec.ts
@@ -128,7 +128,7 @@ describe('tray module', () => {
describe('tray.getBounds()', () => {
afterEach(() => { tray.destroy(); });
- ifit(process.platform !== 'linux')('returns a bounds object', function () {
+ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('returns a bounds object', function () {
const bounds = tray.getBounds();
expect(bounds).to.be.an('object').and.to.have.all.keys('x', 'y', 'width', 'height');
});