function runStart
runStart(
config: Config,
): void

Emits run start to every active reporter. In watch mode this fires once per rerun.

import * as Reporter from './index.ts';

import type { Config } from '../types.ts';
import type { RunStartInfo } from './types.ts';

// Defined, not invoked: fans out to the run's live reporters, which write to stdout.
function announce(config: Config, info: RunStartInfo) {
  Reporter.runStart(config, info);
}

Parameters

Return Type

void

Usage

import { runStart } from "lib/reporters/index.ts";