with_mockforge

Function with_mockforge 

Source
pub async fn with_mockforge<F, Fut>(test: F) -> Result<()>
where F: FnOnce(MockForgeServer) -> Fut, Fut: Future<Output = Result<()>>,
Expand description

Create a test server with default configuration