Function tauri::test::mock_context
source ยท pub fn mock_context<A: Assets>(assets: A) -> Context<A>
Available on crate feature
test
only.Expand description
Creates a new crate::Context
for testing.
pub fn mock_context<A: Assets>(assets: A) -> Context<A>
test
only.Creates a new crate::Context
for testing.