From d9d37f85f842b95787c9e52da1003ec7af9053ef Mon Sep 17 00:00:00 2001 From: Anders Rune Jensen Date: Mon, 6 Sep 2021 11:10:06 +0200 Subject: [PATCH] Update test/clock.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: André Staltz --- test/clock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/clock.js b/test/clock.js index 2039361..9e9a673 100644 --- a/test/clock.js +++ b/test/clock.js @@ -63,7 +63,7 @@ tape('alice blocks bob, then unblocks', async (t) => { const clockAliceAfter2 = await pify(alice.ebt.clock)() t.equal(clockAliceAfter2[alice.id], 2, 'clock ok') - const clockBobAfter2 = await pify(alice.ebt.clock)() + const clockBobAfter2 = await pify(bob.ebt.clock)() t.equal(clockBobAfter2[alice.id], 2, 'clock ok') await Promise.all([