itAsync

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

Alias for {@link test}.

The it() function is imported from the node:test module.

Since

v18.6.0, v16.17.0


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