--- electron/spec/api-safe-storage-spec.ts.orig 2024-10-09 13:53:06 UTC +++ electron/spec/api-safe-storage-spec.ts @@ -29,7 +29,7 @@ describe('safeStorage module', () => { describe('safeStorage module', () => { before(() => { - if (process.platform === 'linux') { + if (process.platform === 'linux' || process.platform === 'freebsd') { safeStorage.setUsePlainTextEncryption(true); } }); @@ -47,7 +47,7 @@ describe('safeStorage module', () => { }); }); - ifdescribe(process.platform === 'linux')('SafeStorage.getSelectedStorageBackend()', () => { + ifdescribe(process.platform === 'linux' || process.platform === 'freebsd')('SafeStorage.getSelectedStorageBackend()', () => { it('should return a valid backend', () => { expect(safeStorage.getSelectedStorageBackend()).to.equal('basic_text'); });