(group: Group)
| 211 | } |
| 212 | |
| 213 | function runGroup(group: Group) { |
| 214 | describe(group.name + ` at ${name}.md:${group.line + 1}`, function () { |
| 215 | for (const child of group.children) { |
| 216 | runGroup(child); |
| 217 | } |
| 218 | |
| 219 | for (const test of group.tests) { |
| 220 | runTest(test); |
| 221 | } |
| 222 | }); |
| 223 | } |
| 224 | |
| 225 | for (const group of groups) { |
| 226 | runGroup(group); |