* Computes the output for a test from its transform and input. * * @param {string} transform * @param {string} input * @return {Promise }
(transform, input)
| 105 | * @return {Promise<string>} |
| 106 | */ |
| 107 | async function getOutput(transform, input) { |
| 108 | return (await posthtml(/** @type {*} */ (transform)).process(input)).html; |
| 109 | } |
| 110 | |
| 111 | /** |
| 112 | * Loads optional arguments residing in a options.json file, if any. |
no outgoing calls
no test coverage detected