diff options
author | Hiroki Tagato <tagattie@FreeBSD.org> | 2021-11-24 17:28:24 +0900 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2021-11-24 17:30:52 +0900 |
commit | 4da4f5edbf9de5c4269cf66d70044f4cb3abdc41 (patch) | |
tree | 21363ca7518a943c48bde3a669c78444685f832e /devel/electron13/files/patch-electron_spec-main_api-screen-spec.ts | |
parent | ports-mgmt/octopkg: update description and WWW (diff) |
devel/electron13: update to 13.6.2 (and rename from devel/electron12)
Changelog: https://www.electronjs.org/blog/electron-13-0
Diffstat (limited to 'devel/electron13/files/patch-electron_spec-main_api-screen-spec.ts')
-rw-r--r-- | devel/electron13/files/patch-electron_spec-main_api-screen-spec.ts | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-electron_spec-main_api-screen-spec.ts b/devel/electron13/files/patch-electron_spec-main_api-screen-spec.ts new file mode 100644 index 000000000000..4bdd3ef89563 --- /dev/null +++ b/devel/electron13/files/patch-electron_spec-main_api-screen-spec.ts @@ -0,0 +1,38 @@ +--- electron/spec-main/api-screen-spec.ts.orig 2021-04-20 23:32:33 UTC ++++ electron/spec-main/api-screen-spec.ts +@@ -29,7 +29,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'); +@@ -46,7 +46,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'); +@@ -56,7 +56,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'); +@@ -66,7 +66,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'); |