Skip to content

Commit 9ea4a12

Browse files
committed
chore: align restore branch with vp test runner
1 parent 2be9636 commit 9ea4a12

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/tempo/client/Session.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { type Address, createClient, type Hex, http } from 'viem'
22
import { privateKeyToAccount } from 'viem/accounts'
33
import { Addresses } from 'viem/tempo'
4-
import { beforeAll, describe, expect, test, vi } from 'vitest'
4+
import { beforeAll, describe, expect, test, vi } from 'vp/test'
55
import { nodeEnv } from '~test/config.js'
66
import { deployEscrow, openChannel } from '~test/tempo/session.js'
77
import { accounts, asset, chain, client, fundAccount } from '~test/tempo/viem.js'
@@ -210,7 +210,7 @@ describe('session (pure)', () => {
210210
vi.resetModules()
211211

212212
const createVoucherPayload = vi.fn(
213-
async (_client, _account, channelId, cumulativeAmount) => ({
213+
async (_client: unknown, _account: unknown, channelId: Hex, cumulativeAmount: bigint) => ({
214214
action: 'voucher' as const,
215215
channelId,
216216
cumulativeAmount: cumulativeAmount.toString(),
@@ -266,7 +266,7 @@ describe('session (pure)', () => {
266266
vi.resetModules()
267267

268268
const createVoucherPayload = vi.fn(
269-
async (_client, _account, channelId, cumulativeAmount) => ({
269+
async (_client: unknown, _account: unknown, channelId: Hex, cumulativeAmount: bigint) => ({
270270
action: 'voucher' as const,
271271
channelId,
272272
cumulativeAmount: cumulativeAmount.toString(),

src/tempo/client/SessionManager.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Address, Hex } from 'viem'
2-
import { describe, expect, test, vi } from 'vitest'
2+
import { describe, expect, test, vi } from 'vp/test'
33

44
import * as Challenge from '../../Challenge.js'
55
import { serializeSessionReceipt } from '../session/Receipt.js'

0 commit comments

Comments
 (0)