(title: string, test: AsyncFunc | Func)
| 13 | return {it}; |
| 14 | } else { |
| 15 | const skip = (title: string, test: AsyncFunc | Func) => it.skip(`Dynamically skipping test: <<${title}>> - prerequisite not met.`, test); |
| 16 | return {it:skip as Mocha.TestFunction}; |
| 17 | } |
| 18 | } |