runEnd(config: Config,info: RunEndInfo): Promise<void>
Emits run end to every active reporter, awaiting any that flush asynchronously.
import * as Reporter from './index.ts'; import type { Config } from '../types.ts'; import type { RunEndInfo } from './types.ts'; // Defined, not invoked: JUnit flushes its XML file here. async function finish(config: Config, info: RunEndInfo) { await Reporter.runEnd(config, info); }
config: Config
info: RunEndInfo