function info
info(
config: Config,
message: string,
options?: NoticeOptions
): void

A decision the runner made and wants on the record — what it chose to run, what it skipped.

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

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

// Defined, not invoked: writes '# scoped to 2 files' to the run's sink.
function announce(config: Config) {
  Reporter.info(config, 'scoped to 2 files');
}

Parameters

config: Config
message: string
optional
options: NoticeOptions

Return Type

void

Usage

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