Revert "Merge pull request #18371 from cypress-io/issue-447-configure-slow-test-threshold"

This reverts commit f919bfbb85, reversing
changes made to 0f201fec6d.
This commit is contained in:
BlueWinds
2021-10-15 08:50:04 -07:00
parent f919bfbb85
commit ec7ee74686
14 changed files with 791 additions and 1300 deletions
-5
View File
@@ -44,11 +44,6 @@
"default": null,
"description": "The reporter options used. Supported options depend on the reporter. See https://on.cypress.io/reporters#Reporter-Options"
},
"slowTestThreshold": {
"type": "number",
"default": null,
"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 yellow if over the threshold. Defaults to 10000ms for e2e tests and 250ms for component tests. See https://on.cypress.io/configuration#Global"
},
"testFiles": {
"type": [
"string",
-4
View File
@@ -91,10 +91,6 @@ declare namespace CypressCommandLine {
* Specify mocha reporter options
*/
reporterOptions: any
/**
* Slow test threshold in milliseconds. Only affects the visual output of some reporters. For example, the spec reporter will display the test time in yellow if over the threshold.
*/
slowTestThreshold: number
/**
* Specify the specs to run
*/
-5
View File
@@ -2572,11 +2572,6 @@ declare namespace Cypress {
* @default "spec"
*/
reporterOptions: { [key: string]: any }
/**
* Slow test threshold in milliseconds. Only affects the visual output of some reporters. For example, the spec reporter will display the test time in yellow if over the threshold. Defaults to 10000ms for e2e tests and 250ms for component tests.
* @default null
*/
slowTestThreshold: number | null
/**
* Whether Cypress will watch and restart tests on test file changes
* @default true