(opts: { hardhatOutput?: string; rootDirectory: string; })
| 38 | } |
| 39 | |
| 40 | const getHardhatTestDirectory = (opts: { hardhatOutput?: string; rootDirectory: string; }) => { |
| 41 | const { hardhatOutput, rootDirectory } = opts; |
| 42 | const testDirectory = hardhatOutput || path.join(rootDirectory, 'test') |
| 43 | return mkdirIfNotExists(testDirectory); |
| 44 | } |
| 45 | |
| 46 | const tryFindHardhatProjectInPath = (contractsPath?: string) => { |
| 47 | const contractsDirectory = contractsPath && findDirectoryInTree(contractsPath, 'contracts') |
no test coverage detected