From 6ec6ad3fddd70377bc8e72e2b3b6a098eccc5892 Mon Sep 17 00:00:00 2001 From: jxom <7336481+jxom@users.noreply.github.com> Date: Fri, 20 Dec 2024 19:16:31 +0200 Subject: [PATCH] test: up --- src/actions/public/getBlockNumber.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/public/getBlockNumber.test.ts b/src/actions/public/getBlockNumber.test.ts index 2b5a49363b..3d3e3f4286 100644 --- a/src/actions/public/getBlockNumber.test.ts +++ b/src/actions/public/getBlockNumber.test.ts @@ -31,7 +31,7 @@ test('behavior: caches blockNumber within cacheTime', async () => { vi.useFakeTimers() const a = await getBlockNumber(client, { cacheTime }) - mine(client, { blocks: 1 }) + await mine(client, { blocks: 1 }) vi.advanceTimersByTime(cacheTime / 2) const b = await getBlockNumber(client)