* Computes the name of a test from its input file. * * @param {string} inputFile * @return {string}
(inputFile)
| 34 | * @return {string} |
| 35 | */ |
| 36 | function getTestName(inputFile) { |
| 37 | const transformName = path.basename(getTransformerDir(inputFile)); |
| 38 | const testSuffix = getTestPath(inputFile); |
| 39 | return `${transformName} → ${testSuffix}`; |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * Computes the directory of the transformer used in the test. |
no test coverage detected