From 074009c945cc68a322e2a4bc11a6f982bc720011 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Fri, 13 Mar 2020 09:40:00 +0000 Subject: Add electron7 7.1.14, build cross-platform desktop apps with JavaScript, HTML, and CSS. --- .../patch-electron_spec-main_api-screen-spec.ts | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 devel/electron7/files/patch-electron_spec-main_api-screen-spec.ts (limited to 'devel/electron7/files/patch-electron_spec-main_api-screen-spec.ts') diff --git a/devel/electron7/files/patch-electron_spec-main_api-screen-spec.ts b/devel/electron7/files/patch-electron_spec-main_api-screen-spec.ts new file mode 100644 index 000000000000..20af745ccb8b --- /dev/null +++ b/devel/electron7/files/patch-electron_spec-main_api-screen-spec.ts @@ -0,0 +1,38 @@ +--- electron/spec-main/api-screen-spec.ts.orig 2019-12-13 19:48:14 UTC ++++ electron/spec-main/api-screen-spec.ts +@@ -17,7 +17,7 @@ describe('screen module', () => { + }) + + it('has the correct non-object properties', function () { +- if (process.platform === 'linux') this.skip() ++ if (process.platform === 'linux' || process.platform === 'freebsd') this.skip() + const display = screen.getPrimaryDisplay() + + expect(display).to.have.property('scaleFactor').that.is.a('number') +@@ -33,7 +33,7 @@ describe('screen module', () => { + }) + + it('has a size object property', function () { +- if (process.platform === 'linux') this.skip() ++ if (process.platform === 'linux' || process.platform === 'freebsd') this.skip() + const display = screen.getPrimaryDisplay() + + expect(display).to.have.property('size').that.is.an('object') +@@ -43,7 +43,7 @@ describe('screen module', () => { + }) + + it('has a workAreaSize object property', function () { +- if (process.platform === 'linux') this.skip() ++ if (process.platform === 'linux' || process.platform === 'freebsd') this.skip() + const display = screen.getPrimaryDisplay() + + expect(display).to.have.property('workAreaSize').that.is.an('object') +@@ -53,7 +53,7 @@ describe('screen module', () => { + }) + + it('has a bounds object property', function () { +- if (process.platform === 'linux') this.skip() ++ if (process.platform === 'linux' || process.platform === 'freebsd') this.skip() + const display = screen.getPrimaryDisplay() + + expect(display).to.have.property('bounds').that.is.an('object') -- cgit v1.2.3