Custom config file
Options for custom config file
Last updated
Options for custom config file
Last updated
If you'd like to take advantages of additional features, you will need to set up the custom config file.
Create a file called cypress-image-diff.config.js
. This should live along side cypress.config.js
, in the root of the directory.
If your project is written in ESM module, then you would need to use .cjs instead of .js extension.
Note: In order to make this custom config values effective, remember to return
getCompareSnapshotsPlugin
instance inside functionsetupNodeEvents
:
Currently supported values in the custom config file: