Skip to content

Commit

Permalink
Fix a type in E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaw3d committed Jan 27, 2025
1 parent 199c12a commit ef70d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playwright/utils/mockApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type {
} from '../../src/vendors/nexus/index'
import { StringifiedBigInt } from '../../src/types/StringifiedBigInt'

export async function mockApi(context: BrowserContext | Page, balance: StringifiedBigInt) {
export async function mockApi(context: BrowserContext | Page, balance: number | StringifiedBigInt) {
await context.addInitScript(() => ((window as any).REACT_APP_BACKEND = 'nexus'))
await context.route('**/consensus/accounts/*', route => {
route.fulfill({
Expand Down

0 comments on commit ef70d08

Please sign in to comment.