Adds a new value formatter that will be used to for all new assertion contexts
The value formatter or array of value formatters to add
Returns the current config options in a new plain object
The format manager responsible for managing value formatters.
The format manager handles registration and retrieval of custom formatters used for formatting values in assertion error messages. Formatters are checked in priority order: current context formatters (highest priority), parent context formatters (medium priority), and default formatters (lowest priority). When cloning a config, the format manager is also cloned to maintain isolation between contexts.
Resets the current config options to their default values removing any customizations
Provides the additional API functions for the configuration instance
Since
0.1.5
Remarks
The IConfigApi interface provides additional API functions for the configuration instance. It provides access to the current configuration settings, including verbosity, stack trace options, default messages, formatting options, circular reference handling, and diff display settings.