summaryrefslogtreecommitdiff
path: root/devel/electron7/files/patch-electron_spec-main_api-tray-spec.ts
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron7/files/patch-electron_spec-main_api-tray-spec.ts')
-rw-r--r--devel/electron7/files/patch-electron_spec-main_api-tray-spec.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron7/files/patch-electron_spec-main_api-tray-spec.ts b/devel/electron7/files/patch-electron_spec-main_api-tray-spec.ts
new file mode 100644
index 000000000000..4fbf02b6b9a2
--- /dev/null
+++ b/devel/electron7/files/patch-electron_spec-main_api-tray-spec.ts
@@ -0,0 +1,11 @@
+--- electron/spec-main/api-tray-spec.ts.orig 2020-04-29 19:04:02 UTC
++++ electron/spec-main/api-tray-spec.ts
+@@ -63,7 +63,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');
+ })