Skip to content

Commit

Permalink
style: 🚨 Fix Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
timbrinded committed May 22, 2024
1 parent ea791ee commit 4ead63a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/cmds/runNetwork.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export async function runNetworkCmd(args: RunCommandArgs) {
)})`
: chalk.dim("Test: NO TESTS SPECIFIED"),
value: 4,
disabled: testFileDirs.length > 0 ? false : true,
disabled: !(testFileDirs.length > 0),
short: "test",
},
{
Expand All @@ -110,7 +110,7 @@ export async function runNetworkCmd(args: RunCommandArgs) {
)})`
: chalk.dim("Test: NO TESTS SPECIFIED"),
value: 5,
disabled: testFileDirs.length > 0 ? false : true,
disabled: !(testFileDirs.length > 0),
short: "grep",
},
new inquirer.Separator(),
Expand Down
5 changes: 2 additions & 3 deletions packages/cli/src/internal/foundations/devModeHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,11 @@ export async function createDevBlock<
ApiType extends ApiTypes,
Calls extends CallType<ApiType> | Array<CallType<ApiType>>,
>(context: GenericContext, options: BlockCreation, transactions?: Calls) {
const containsViem =
const containsViem = !!(
(context as DevModeContext).isEthereumChain &&
context.viem() &&
(await MoonwallContext.getContext()).providers.find((prov) => prov.type === "viem")
? true
: false;
);
const api = context.polkadotJs();

const originalBlockNumber = (await api.rpc.chain.getHeader()).number.toBigInt();
Expand Down
1 change: 1 addition & 0 deletions packages/cli/src/lib/runnerContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ let limiter: Bottleneck | undefined = undefined;
* },
* });
*/
// biome-ignore lint/suspicious/noExportsInTest: <explanation>
export function describeSuite<T extends FoundationType>({
id: suiteId,
title,
Expand Down

0 comments on commit 4ead63a

Please sign in to comment.