* Return true if the patterns are valid.
()
| 22 | * Return true if the patterns are valid. |
| 23 | */ |
| 24 | isValid(): boolean { |
| 25 | return this.toExecutor({ |
| 26 | // isValid() doesn't require rootDir to be accurate, so just |
| 27 | // specify a dummy rootDir here |
| 28 | rootDir: '/', |
| 29 | }).isValid(); |
| 30 | } |
| 31 | |
| 32 | /** |
| 33 | * Return a human-friendly version of the pattern regex. |
no test coverage detected