Skip to content

Commit

Permalink
fix evm mine not sent before forge test command
Browse files Browse the repository at this point in the history
thought this was merged what is going on
  • Loading branch information
dbeal-eth committed Jan 25, 2024
1 parent 6ff9eda commit 46dd377
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ applyCommandsConfig(program.command('test'), commandsConfig.test).action(async f
await writeModuleDeployments(path.join(process.cwd(), 'deployments/test'), '', outputs);

// after the build is done we can run the forge tests for the user
getProvider(node!).send('evm_mine', []);
const forgeCmd = spawn('forge', ['test', '--fork-url', node!.host, ...forgeOpts]);

forgeCmd.stdout.on('data', (data: Buffer) => {
Expand Down

0 comments on commit 46dd377

Please sign in to comment.