ports/devel/electron22/files/patch-electron_spec_api-native-image-spec.ts

11 lines
520 B
TypeScript

--- electron/spec/api-native-image-spec.ts.orig 2023-01-24 16:58:16 UTC
+++ electron/spec/api-native-image-spec.ts
@@ -423,7 +423,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 };