* Extracts the input for a test from its input file. * * @param {string} inputFile * @return {Promise }
(inputFile)
| 24 | * @return {Promise<string>} |
| 25 | */ |
| 26 | async function getInput(inputFile) { |
| 27 | return fs.promises.readFile(inputFile, 'utf8'); |
| 28 | } |
| 29 | |
| 30 | /** |
| 31 | * Computes the name of a test from its input file. |