Skip to main content

emit_suite_fn

Function emit_suite_fn 

Source
pub fn emit_suite_fn(
    f: &FnDecl,
    commons: &TypedCommons,
    runtime_use: &RuntimeUse,
) -> Vec<TsStmt>
Expand description

#2834: a suite-local helper fn — emit_free_fn without the export, since it is declared inside a test runner and called from its body.