ports/devel/electron25/files/patch-electron_spec_api-tray-spec.ts

11 lines
573 B
TypeScript

--- electron/spec/api-tray-spec.ts.orig 2023-07-19 13:20:24 UTC
+++ electron/spec/api-tray-spec.ts
@@ -129,7 +129,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');
});