onlyAsync

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

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

Since

v18.15.0


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