diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2021-01-01 10:11:34 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2021-01-01 10:11:34 +0000 |
commit | 26b4c8f71f91d22e081b27814782686edde0c90a (patch) | |
tree | 1c321c39372c25d8634e75b5c8e08edc676b296d /devel/electron6/files/patch-electron_spec_api-screen-spec.js | |
parent | New port: math/py-optuna: A hyperparameter optimization framework (diff) |
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed
With hat: portmgr
Notes
Notes:
svn path=/head/; revision=559822
Diffstat (limited to 'devel/electron6/files/patch-electron_spec_api-screen-spec.js')
-rw-r--r-- | devel/electron6/files/patch-electron_spec_api-screen-spec.js | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/devel/electron6/files/patch-electron_spec_api-screen-spec.js b/devel/electron6/files/patch-electron_spec_api-screen-spec.js new file mode 100644 index 000000000000..6c4979cb0fec --- /dev/null +++ b/devel/electron6/files/patch-electron_spec_api-screen-spec.js @@ -0,0 +1,38 @@ +--- electron/spec/api-screen-spec.js.orig 2019-09-11 17:30:11 UTC ++++ electron/spec/api-screen-spec.js +@@ -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.a.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.a.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.a.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.a.property('bounds').that.is.an('object') |