mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-07-10 06:22:30 +00:00
fix: Linting.
This commit is contained in:
parent
373d2d8414
commit
888d3e8af3
@ -146,10 +146,10 @@ describe('Log', function () {
|
|||||||
|
|
||||||
it('encrypts the value of an entry in the log', async () => {
|
it('encrypts the value of an entry in the log', async () => {
|
||||||
const keys = await keystore.createKey('hello1')
|
const keys = await keystore.createKey('hello1')
|
||||||
|
|
||||||
const privateKey = await keystore.getKey('hello1')
|
const privateKey = await keystore.getKey('hello1')
|
||||||
const publicKey = await keystore.getPublic(keys)
|
const publicKey = await keystore.getPublic(keys)
|
||||||
|
|
||||||
const encryptFn = encrypt({ publicKey })
|
const encryptFn = encrypt({ publicKey })
|
||||||
const decryptFn = decrypt({ privateKey })
|
const decryptFn = decrypt({ privateKey })
|
||||||
const log = await Log(testIdentity, { encryptFn, decryptFn })
|
const log = await Log(testIdentity, { encryptFn, decryptFn })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user