fix: Linting.

This commit is contained in:
Hayden Young 2024-05-17 03:35:38 +01:00
parent 373d2d8414
commit 888d3e8af3

View File

@ -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 })