| 67 | } |
| 68 | |
| 69 | export function intoFullInterface(iface: Interface): FullInterface { |
| 70 | return { |
| 71 | filterScenarios: iface.filterScenarios ?? (async (scenarios) => scenarios), |
| 72 | filterScenarioVariants: |
| 73 | iface.filterScenarioVariants ?? |
| 74 | (async (scenarioVariants) => scenarioVariants), |
| 75 | start: iface.start ?? (async () => {}), |
| 76 | measurement: iface.measurement ?? (async () => {}), |
| 77 | end: iface.end ?? (async () => {}), |
| 78 | error: iface.error ?? (async () => {}), |
| 79 | finish: iface.finish ?? (async () => {}), |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | export { |
| 84 | describe, |