Skip to content

Commit a8bcb85

Browse files
committed
fix mock encryptor for tests
1 parent a154a64 commit a8bcb85

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/lib/mock-encryptor.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ const mockEncryptor = {
6565
return null;
6666
},
6767

68+
async exportKey(key) {
69+
return JSON.stringify(key);
70+
},
71+
6872
async updateVault(_vault, _password) {
6973
return _vault;
7074
},

0 commit comments

Comments
 (0)