Skip to content

Configuring Jestspectation

configure

Returns a reference to Jestspectation's configuration, allowing read/write access to the options.

For example:

# Make jestspectation give all diffs for Pytest
jestspectation.configure().pytest_all_diffs = True