--- electron/spec/api-clipboard-spec.ts.orig 2023-08-14 18:19:06 UTC +++ electron/spec/api-clipboard-spec.ts @@ -48,7 +48,7 @@ ifdescribe(process.platform !== 'win32' || process.arc }); }); - ifdescribe(process.platform !== 'linux')('clipboard.readBookmark', () => { + ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('clipboard.readBookmark', () => { it('returns title and url', () => { clipboard.writeBookmark('a title', 'https://electronjs.org'); @@ -67,7 +67,7 @@ ifdescribe(process.platform !== 'win32' || process.arc }); describe('clipboard.read()', () => { - ifit(process.platform !== 'linux')('does not crash when reading various custom clipboard types', () => { + ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('does not crash when reading various custom clipboard types', () => { const type = process.platform === 'darwin' ? 'NSFilenamesPboardType' : 'FileNameW'; expect(() => { @@ -104,7 +104,7 @@ ifdescribe(process.platform !== 'win32' || process.arc const readImage = clipboard.readImage(); expect(readImage.toDataURL()).to.equal(i.toDataURL()); - if (process.platform !== 'linux') { + if (process.platform !== 'linux' && process.platform !== 'freebsd') { if (process.platform !== 'win32') { expect(clipboard.readBookmark()).to.deep.equal(bookmark); } else {