diff options
Diffstat (limited to 'devel/electron13/files/patch-electron_spec_api-native-image-spec.js')
-rw-r--r-- | devel/electron13/files/patch-electron_spec_api-native-image-spec.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-electron_spec_api-native-image-spec.js b/devel/electron13/files/patch-electron_spec_api-native-image-spec.js new file mode 100644 index 000000000000..b08996db2535 --- /dev/null +++ b/devel/electron13/files/patch-electron_spec_api-native-image-spec.js @@ -0,0 +1,11 @@ +--- electron/spec/api-native-image-spec.js.orig 2021-01-22 23:55:24 UTC ++++ electron/spec/api-native-image-spec.js +@@ -491,7 +491,7 @@ describe('nativeImage module', () => { + }); + }); + +- ifdescribe(process.platform !== 'linux')('createThumbnailFromPath(path, size)', () => { ++ ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('createThumbnailFromPath(path, size)', () => { + it('throws when invalid size is passed', async () => { + const badSize = { width: -1, height: -1 }; + |