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": {
|
||||
"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."
|
||||
},
|
||||
"reporter": {
|
||||
|
||||
@ -32,7 +32,7 @@ export interface CypressExecutorOptions extends Json {
|
||||
copyFiles?: string;
|
||||
ciBuildId?: string | number;
|
||||
group?: string;
|
||||
ignoreTestFiles?: string;
|
||||
ignoreTestFiles?: string | string[];
|
||||
reporter?: string;
|
||||
reporterOptions?: string | Json;
|
||||
skipServe?: boolean;
|
||||
|
||||
@ -113,7 +113,17 @@
|
||||
},
|
||||
"ignoreTestFiles": {
|
||||
"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."
|
||||
},
|
||||
"reporter": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user