|
1 | 1 | import { type Address, createClient, type Hex, http } from 'viem' |
2 | 2 | import { privateKeyToAccount } from 'viem/accounts' |
3 | 3 | import { Addresses } from 'viem/tempo' |
4 | | -import { beforeAll, describe, expect, test, vi } from 'vitest' |
| 4 | +import { beforeAll, describe, expect, test, vi } from 'vp/test' |
5 | 5 | import { nodeEnv } from '~test/config.js' |
6 | 6 | import { deployEscrow, openChannel } from '~test/tempo/session.js' |
7 | 7 | import { accounts, asset, chain, client, fundAccount } from '~test/tempo/viem.js' |
@@ -210,7 +210,7 @@ describe('session (pure)', () => { |
210 | 210 | vi.resetModules() |
211 | 211 |
|
212 | 212 | const createVoucherPayload = vi.fn( |
213 | | - async (_client, _account, channelId, cumulativeAmount) => ({ |
| 213 | + async (_client: unknown, _account: unknown, channelId: Hex, cumulativeAmount: bigint) => ({ |
214 | 214 | action: 'voucher' as const, |
215 | 215 | channelId, |
216 | 216 | cumulativeAmount: cumulativeAmount.toString(), |
@@ -266,7 +266,7 @@ describe('session (pure)', () => { |
266 | 266 | vi.resetModules() |
267 | 267 |
|
268 | 268 | const createVoucherPayload = vi.fn( |
269 | | - async (_client, _account, channelId, cumulativeAmount) => ({ |
| 269 | + async (_client: unknown, _account: unknown, channelId: Hex, cumulativeAmount: bigint) => ({ |
270 | 270 | action: 'voucher' as const, |
271 | 271 | channelId, |
272 | 272 | cumulativeAmount: cumulativeAmount.toString(), |
|
0 commit comments