Skip to main content

BettererOptionsOverride

API > @betterer/betterer > BettererOptionsOverride

Options for when you override the config via the BettererContext.options() API.

Signature

export interface BettererOptionsOverride 

Remarks

The options object will be validated by Betterer and turned into a BettererConfig.

Properties

PropertyTypeDescription
filters?BettererOptionsFilters(Optional) A string or Regular Expression to match the names of tests that should be run, or an array of them. Will be converted into BettererConfigFilters.
ignores?BettererOptionsIgnores(Optional) A glob pattern to match file paths that should be ignored by the file watcher in watch mode, or an array of them. All ignores should be relative to the cwd.
reporters?BettererOptionsReporters(Optional) An array of names of npm packages that export a BettererReporter or objects that implement BettererReporter. Ignored when silent is true.