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

Since

v20.2.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)