mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
ignore paths that are not FTR configs (#134820)
This commit is contained in:
parent
17fd07ad0e
commit
4be65d54c3
1 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,10 @@ export async function runCheckFtrConfigsCli() {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (file.match(/jest.config.(t|j)s$/)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return readFileSync(file)
|
||||
.toString()
|
||||
.match(/(testRunner)|(testFiles)/);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue