opnsense-ports/devel/electron22/files/patch-electron_spec_api-tray-spec.ts
Franco Fichtner d016c42591 */*: sync with upstream
Taken from: FreeBSD
2023-01-30 10:59:54 +01:00

11 lines
573 B
TypeScript

--- electron/spec/api-tray-spec.ts.orig 2021-01-22 23:55:24 UTC
+++ electron/spec/api-tray-spec.ts
@@ -125,7 +125,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');
});