Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Revert change
  • Loading branch information
Mrtenz committed Dec 11, 2025
commit 8370d752d2e8bef817448ae3c36851f802359f8f
6 changes: 4 additions & 2 deletions packages/network-controller/tests/network-client/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ function mockRpcCall({
const httpStatus =
(typeof response === 'object' &&
'httpStatus' in response &&
response.httpStatus) ??
// Using nullish coalescing here breaks the tests.
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
response.httpStatus) ||
200;

/* @ts-expect-error The types for Nock do not include `basePath` in the interface for Nock.Scope. */
Expand Down Expand Up @@ -597,7 +599,7 @@ export async function withNetworkClient<Type>(
}

type BuildMockParamsOptions = {
blockParam: Json;
blockParam?: Json;
blockParamIndex: number;
};

Expand Down
Loading