summaryrefslogtreecommitdiff
path: root/devel/electron7/files/patch-electron_spec-main_api-tray-spec.ts
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2020-03-13 09:40:00 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2020-03-13 09:40:00 +0000
commit074009c945cc68a322e2a4bc11a6f982bc720011 (patch)
tree1c67356e9f5d127a8e483d1ac9e3aa265cdceb62 /devel/electron7/files/patch-electron_spec-main_api-tray-spec.ts
parent- Update WWW (diff)
Add electron7 7.1.14, build cross-platform desktop apps with JavaScript,
HTML, and CSS.
Notes
Notes: svn path=/head/; revision=528341
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..c597e5c007ff
--- /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 2019-12-13 19:48:14 UTC
++++ electron/spec-main/api-tray-spec.ts
+@@ -56,7 +56,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');
+ })