* Check if root of path is test/ or file is in a folder named test. * @param {string} path * @return {boolean}
(path)
| 1061 | * @return {boolean} |
| 1062 | */ |
| 1063 | function isInTestFolder(path) { |
| 1064 | const dirs = path.split('/'); |
| 1065 | return dirs.indexOf('test') >= 0; |
| 1066 | } |
| 1067 | |
| 1068 | /** |
| 1069 | * Strip Comments |
no outgoing calls
no test coverage detected