From 287ab25776f49d0e0fd6ccc13ef2363e4a7d67b4 Mon Sep 17 00:00:00 2001 From: Anders Rune Jensen Date: Mon, 6 Sep 2021 11:10:17 +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 9e9a673..a158fd7 100644 --- a/test/clock.js +++ b/test/clock.js @@ -51,7 +51,7 @@ tape('alice blocks bob, then unblocks', async (t) => { t.equal(clockAliceAfter[alice.id], 1, 'clock ok') t.equal(clockAliceAfter[bob.id], 1, 'clock ok') - const clockBobAfter = await pify(alice.ebt.clock)() + const clockBobAfter = await pify(bob.ebt.clock)() t.equal(clockBobAfter[alice.id], 1, 'clock ok') t.equal(clockBobAfter[bob.id], 1, 'clock ok')