onlyAsync

external fun onlyAsync(name: String = definedExternally, options: TestOptions = definedExternally, fn: SuiteFn = definedExternally): Promise<Void>(source)

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

Since

v20.13.0


external fun onlyAsync(name: String = definedExternally, fn: SuiteFn = definedExternally): Promise<Void>(source)
external fun onlyAsync(options: TestOptions = definedExternally, fn: SuiteFn = definedExternally): Promise<Void>(source)
external fun onlyAsync(fn: SuiteFn = definedExternally): Promise<Void>(source)
external fun onlyAsync(): Promise<Void>(source)