Skip to content

Commit eb69103

Browse files
committed
chore: fix lint
1 parent 014890f commit eb69103

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

features/keychain/module/__tests__/memoized-keychain.test.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,15 @@ describe('MemoizedKeychain', () => {
7474
const { keychain, storage } = await setup({ prefilledCache: false })
7575

7676
await expect(keychain.exportKey(keyId)).resolves.toEqual(retrievedKey)
77-
expect(storage.set).toHaveBeenCalledWith(CACHE_KEY, BJSON.stringify({
78-
[stableStringify(keyId)]: {
79-
xpub: retrievedKey.xpub,
80-
publicKey: retrievedKey.publicKey,
81-
},
82-
}))
77+
expect(storage.set).toHaveBeenCalledWith(
78+
CACHE_KEY,
79+
BJSON.stringify({
80+
[stableStringify(keyId)]: {
81+
xpub: retrievedKey.xpub,
82+
publicKey: retrievedKey.publicKey,
83+
},
84+
})
85+
)
8386
})
8487

8588
it('should properly clear all caches', async () => {

0 commit comments

Comments
 (0)