fix: Add reporter options (#8217)

Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
This commit is contained in:
Matt Revell
2020-08-17 08:46:40 +01:00
committed by GitHub
parent 4c8fb2fd5e
commit 2f835f7f15
+6 -1
View File
@@ -2416,7 +2416,12 @@ declare namespace Cypress {
*/
reporter: string
/**
* Whether to take a screenshot on test failure when running headlessly or in CI
* Some reporters accept [reporterOptions](https://on.cypress.io/reporters) that customize their behavior
* @default "spec"
*/
reporterOptions: { [key: string]: any }
/**
* Whether Cypress will watch and restart tests on test file changes
* @default true
*/
watchForFileChanges: boolean