(pathToResolve: string)
| 128 | }; |
| 129 | |
| 130 | const findPackageJson = (pathToResolve: string) => { |
| 131 | const packagePath = path.resolve(pathToResolve, PACKAGE_JSON); |
| 132 | if (isFile(packagePath)) { |
| 133 | return packagePath; |
| 134 | } |
| 135 | |
| 136 | return undefined; |
| 137 | }; |
| 138 | |
| 139 | const getPackageJsonJestKey = ( |
| 140 | packagePath: string, |
no test coverage detected