Skip to content

Commit

Permalink
Fix unbox test
Browse files Browse the repository at this point in the history
  • Loading branch information
Powersource committed Sep 1, 2023
1 parent 21d6334 commit 6dab626
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/replicate.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ test('replicate group members', async t => {
t.pass()
t.pass()
t.pass()
return alice.close(true, ()=> bob.close(true))
return alice.close(true, () => bob.close(true))

const requested = []
alice.close((err) => {
Expand Down
4 changes: 4 additions & 0 deletions test/unbox.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ test('unbox', async t => {
author: {
groupKeys: () => trial_keys,
sharedDMKey: () => ({ key: Buffer.alloc(32), scheme: 'junk' }) // just here to stop code choking
},
group: {
list: () => ['a'],
get: () => trial_keys
}
}
const mockState = {
Expand Down

0 comments on commit 6dab626

Please sign in to comment.