Optional
affectedList of patterns to ignore when looking for related tests
Optional
exitWhether to exit the process after running the extension. For example, if no tests are found and exitProcess is true, the process will exit. This is useful for CI/CD pipelines in the pull request stage.
Optional
sourceHeaders to add to the request when fetching source maps (if your sourcemaps are not public, you might need to access them using some type of authentication).
This will use a key to access process.env
, so don't put the value directly in the config, but the key to access the environment variable.
E.g.
sourceMapHeaders: { Authorization: 'process.env.MY_TOKEN' }
or
sourceMapHeaders: { Authorization: 'MY_TOKEN' }
This way we avoid writing any sensitive information in the config file.
The URL where the files are hosted. This can differ from the local to staging or production environment.
Config