opnsense-ports/devel/electron32/files/patch-electron_spec_api-native-image-spec.ts
Franco Fichtner aca4f92396 */*: sync with upstream
Taken from: FreeBSD
2024-10-21 14:34:57 +02:00

11 lines
565 B
TypeScript

--- electron/spec/api-native-image-spec.ts.orig 2024-10-09 13:53:06 UTC
+++ electron/spec/api-native-image-spec.ts
@@ -428,7 +428,7 @@ describe('nativeImage module', () => {
});
});
- ifdescribe(process.platform !== 'linux')('createThumbnailFromPath(path, size)', () => {
+ ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('createThumbnailFromPath(path, size)', () => {
useRemoteContext({ webPreferences: { contextIsolation: false, nodeIntegration: true } });
it('throws when invalid size is passed', async () => {