(suite: Suite)
| 145 | }) |
| 146 | } |
| 147 | function todoAllTasks(suite: Suite) { |
| 148 | suite.tasks.forEach((t) => { |
| 149 | if (t.mode === 'run' || t.mode === 'queued') { |
| 150 | t.mode = 'todo' |
| 151 | if (t.type === 'suite') { |
| 152 | todoAllTasks(t) |
| 153 | } |
| 154 | } |
| 155 | }) |
| 156 | } |
| 157 | |
| 158 | function checkAllowOnly(task: TaskBase, allowOnly?: boolean) { |
| 159 | if (allowOnly) { |