()
| 26 | } |
| 27 | |
| 28 | start() { |
| 29 | if (currentSection) currentSection.end() |
| 30 | currentSection = this |
| 31 | event.dispatcher.prependListener(event.step.before, this.attachMetaStep) |
| 32 | event.dispatcher.once(event.test.finished, () => this.end()) |
| 33 | return this |
| 34 | } |
| 35 | |
| 36 | end() { |
| 37 | currentSection = null |