blob: a15503e9df07092084a8793edb458d1e6e24d1a1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- electron/spec/fixtures/crash-cases/safe-storage/index.js.orig 2022-05-18 15:31:32 UTC
+++ electron/spec/fixtures/crash-cases/safe-storage/index.js
@@ -21,7 +21,7 @@ const { expect } = require('chai');
await app.whenReady();
// isEncryptionAvailable() will always return false on CI due to a mocked
// dbus as mentioned above.
- expect(safeStorage.isEncryptionAvailable()).to.equal(process.platform !== 'linux');
+ expect(safeStorage.isEncryptionAvailable()).to.equal(process.platform !== 'linux' && process.platform !== 'freebsd');
if (safeStorage.isEncryptionAvailable()) {
const plaintext = 'plaintext';
const ciphertext = safeStorage.encryptString(plaintext);
|