| 35 | * Joins a list of files to a valid glob pattern |
| 36 | */ |
| 37 | const flattenFiles = list => { |
| 38 | const pattern = list.join(',') |
| 39 | return pattern.indexOf(',') > -1 ? `{${pattern}}` : pattern |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * Greps a file by its content, checks if Scenario or Feature text' |