Fonly
Bun

function

test.suite.only

function only(
name?: string,
options?: TestOptions,
fn?: SuiteFn
): Promise<void>;

Shorthand for marking a suite as only. This is the same as calling suite with options.only set to true.

function only(
name?: string,
fn?: SuiteFn
): Promise<void>;

Shorthand for marking a suite as only. This is the same as calling suite with options.only set to true.

function only(
options?: TestOptions,
fn?: SuiteFn
): Promise<void>;

Shorthand for marking a suite as only. This is the same as calling suite with options.only set to true.

function only(
fn?: SuiteFn
): Promise<void>;

Shorthand for marking a suite as only. This is the same as calling suite with options.only set to true.