hardhat
Verified for current stable LTS
Hardhat Command: Run Mocha Tests
Use for run mocha tests with Hardhat. Exact CLI syntax to run mocha tests using Hardhat.
When to use this: Use for run mocha tests with Hardhat.
Command Syntax
hardhat test hardhat test Command Breakdown
hardhat is the base executable for this command.
FAQ
Purpose: Exact syntax to run mocha tests using Hardhat.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Hardhat Command: List Available Subcommands Or Create New Project
hardhat Hardhat Command: Compile Current Project And Build Artifacts hardhat compile Hardhat Command: Run User Defined Script After Compiling hardhat run <path/to/script.js> Hardhat Command: Run All Given Test Files hardhat test <path/to/file1.js path/to/file2.js ...> Hardhat Command: Start Local Ethereum Json Rpc Node For Development hardhat node