pub fn mock_build_process<P>(
temp_contract_dir: P,
contract_file: P,
metadata_file: P,
) -> Result<()>
Expand description
Mocks the build process by generating contract artifacts in a specified temporary directory.
temp_contract_dir
- The root directory where thetarget
folder and artifacts will be created.contract_file
- The path to the mocked contract file to be copied.metadata_file
- The path to the mocked metadata file to be copied.