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 describe} with options.only set to true.

Since

v18.15.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)