From c3bf9adfec522a7b571574af43b67ca802fc42a3 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Mon, 2 Dec 2024 16:01:24 -0600 Subject: [PATCH] Fix test helper types --- bindings_node/test/helpers.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bindings_node/test/helpers.ts b/bindings_node/test/helpers.ts index fc44c2229..989063d38 100644 --- a/bindings_node/test/helpers.ts +++ b/bindings_node/test/helpers.ts @@ -8,6 +8,7 @@ import { createClient as create, generateInboxId, getInboxIdForAddress, + LogLevel, SignatureRequestType, } from '../dist/index' @@ -44,7 +45,7 @@ export const createClient = async (user: User) => { user.account.address, undefined, undefined, - { level: 'info' } + { level: LogLevel.info } ) } @@ -81,7 +82,7 @@ export const encodeTextMessage = (text: string) => { } } -export function sleep(ms) { +export function sleep(ms: number) { return new Promise((resolve) => { setTimeout(resolve, ms) })