Skip to content
This repository was archived by the owner on Dec 28, 2022. It is now read-only.

Commit cc66fe9

Browse files
committed
normalize tests a tiny bit
1 parent 9b94d0c commit cc66fe9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/basic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ test(
9292
test('createIfMissing', async function (t) {
9393
const core = new Hypercore(RAM, { createIfMissing: false })
9494

95-
t.exception(core.ready())
95+
await t.exception(core.ready())
9696
})
9797

9898
test('reopen and overwrite', async function (t) {

test/replicate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,8 +600,6 @@ test('one inflight request to a peer per block', async function (t) {
600600
})
601601

602602
test('non-sparse replication', async function (t) {
603-
t.plan(2)
604-
605603
const a = await create()
606604
const b = await create(a.key, { sparse: false })
607605

@@ -611,6 +609,8 @@ test('non-sparse replication', async function (t) {
611609

612610
const download = t.test('download')
613611

612+
download.plan(6)
613+
614614
let contiguousLength = 0
615615

616616
b

0 commit comments

Comments
 (0)