mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-28 19:00:03 -05:00
Revert "Merge pull request #18371 from cypress-io/issue-447-configure-slow-test-threshold"
This reverts commitf919bfbb85, reversing changes made to0f201fec6d.
This commit is contained in:
@@ -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",
|
||||
|
||||
Vendored
-4
@@ -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
|
||||
*/
|
||||
|
||||
Vendored
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user