runner()
API > @betterer/betterer > runner
Create a BettererRunner with the given options.
Signature
export declare function runner(options?: BettererOptionsRunner): Promise<BettererRunner>;
Parameters
Parameter | Type | Description |
---|---|---|
options | BettererOptionsRunner | Options for creating the runner. |
Returns
Promise<BettererRunner>
Exceptions
BettererError
Will throw if something goes wrong while creating the runner.
Example
import { betterer } from '@betterer/betterer';
const runner = await betterer.runner(options);