Skip to content

Commit

Permalink
Fix test helper types
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Dec 2, 2024
1 parent 20d3aa4 commit c3bf9ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bindings_node/test/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
createClient as create,
generateInboxId,
getInboxIdForAddress,
LogLevel,
SignatureRequestType,
} from '../dist/index'

Expand Down Expand Up @@ -44,7 +45,7 @@ export const createClient = async (user: User) => {
user.account.address,
undefined,
undefined,
{ level: 'info' }
{ level: LogLevel.info }
)
}

Expand Down Expand Up @@ -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)
})
Expand Down

0 comments on commit c3bf9ad

Please sign in to comment.