fix(testing): set correct type for ignoreTestFiles option in cypress executor (#20853)
This commit is contained in:
parent
2374d8eaba
commit
737c75fd0b
@ -106,7 +106,10 @@
|
|||||||
},
|
},
|
||||||
"ignoreTestFiles": {
|
"ignoreTestFiles": {
|
||||||
"aliases": ["excludeSpecPattern"],
|
"aliases": ["excludeSpecPattern"],
|
||||||
"type": "string",
|
"oneOf": [
|
||||||
|
{ "type": "string" },
|
||||||
|
{ "type": "array", "items": { "type": "string" } }
|
||||||
|
],
|
||||||
"description": "A String or Array of glob patterns used to ignore test files that would otherwise be shown in your list of tests. Cypress uses minimatch with the options: `{dot: true, matchBase: true}`. We suggest using https://globster.xyz to test what files would match."
|
"description": "A String or Array of glob patterns used to ignore test files that would otherwise be shown in your list of tests. Cypress uses minimatch with the options: `{dot: true, matchBase: true}`. We suggest using https://globster.xyz to test what files would match."
|
||||||
},
|
},
|
||||||
"reporter": {
|
"reporter": {
|
||||||
|
|||||||
@ -32,7 +32,7 @@ export interface CypressExecutorOptions extends Json {
|
|||||||
copyFiles?: string;
|
copyFiles?: string;
|
||||||
ciBuildId?: string | number;
|
ciBuildId?: string | number;
|
||||||
group?: string;
|
group?: string;
|
||||||
ignoreTestFiles?: string;
|
ignoreTestFiles?: string | string[];
|
||||||
reporter?: string;
|
reporter?: string;
|
||||||
reporterOptions?: string | Json;
|
reporterOptions?: string | Json;
|
||||||
skipServe?: boolean;
|
skipServe?: boolean;
|
||||||
|
|||||||
@ -113,7 +113,17 @@
|
|||||||
},
|
},
|
||||||
"ignoreTestFiles": {
|
"ignoreTestFiles": {
|
||||||
"aliases": ["excludeSpecPattern"],
|
"aliases": ["excludeSpecPattern"],
|
||||||
"type": "string",
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"description": "A String or Array of glob patterns used to ignore test files that would otherwise be shown in your list of tests. Cypress uses minimatch with the options: `{dot: true, matchBase: true}`. We suggest using https://globster.xyz to test what files would match."
|
"description": "A String or Array of glob patterns used to ignore test files that would otherwise be shown in your list of tests. Cypress uses minimatch with the options: `{dot: true, matchBase: true}`. We suggest using https://globster.xyz to test what files would match."
|
||||||
},
|
},
|
||||||
"reporter": {
|
"reporter": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user