Skip to main content

make_test_context

Function make_test_context 

Source
pub fn make_test_context(info_name: &str) -> Context
Expand description

Create a mock context for testing.

This is useful when you need to test callback functions in isolation.