Skip to main content

current

Function current 

Source
pub fn current() -> Result<TestScope, Error>
Expand description

Returns a TestScope handle for the test running on the calling thread.

Fails outside encore test or on a thread that Encore cannot associate with a test. See the module documentation.