Review feedback, standardizing all docs about slowTestThreshold to use same verbage

This commit is contained in:
BlueWinds
2021-10-07 09:20:54 -07:00
parent 80ea0f345f
commit aacfc28639
3 changed files with 5 additions and 5 deletions

View File

@@ -46,8 +46,8 @@
},
"slowTestThreshold": {
"type": "number",
"default": 5000,
"description": "Slow test slowTestThreshold passed to mocha. See https://on.cypress.io/configuration#Global"
"default": 10000,
"description": "Slow test threshold in milliseconds. Only affects the visual output of some reporters. For example, the spec reporter will display the test time in red if over the threshold and in yellow if over half the threshold. See https://on.cypress.io/configuration#Global"
},
"testFiles": {
"type": [
@@ -84,7 +84,7 @@
},
"requestTimeout": {
"type": "number",
"default": 10000,
"default": 5000,
"description": "Time, in milliseconds, to wait for an XHR request to go out in a cy.wait() command"
},
"responseTimeout": {

View File

@@ -92,7 +92,7 @@ declare namespace CypressCommandLine {
*/
reporterOptions: any
/**
* Specify a slow test threshold in milliseconds
* Specify a slow test threshold in milliseconds. Only affects the visual output of some reporters. For example, the spec reporter will display the test time in red if over the threshold and in yellow if over half the threshold.
*/
slowTestThreshold: number
/**

View File

@@ -2573,7 +2573,7 @@ declare namespace Cypress {
*/
reporterOptions: { [key: string]: any }
/**
* A slow test threshold in milliseconds
* Slow test threshold in milliseconds. Only affects the visual output of some reporters. For example, the spec reporter will display the test time in red if over the threshold and in yellow if over half the threshold.
* @default 10000
*/
slowTestThreshold: number | null