(suite: Suite, runner: VitestRunner)
| 810 | } |
| 811 | |
| 812 | function markTasksAsSkipped(suite: Suite, runner: VitestRunner) { |
| 813 | suite.tasks.forEach((t) => { |
| 814 | t.mode = 'skip' |
| 815 | t.result = { ...t.result, state: 'skip' } |
| 816 | updateTask('test-finished', t, runner) |
| 817 | if (t.type === 'suite') { |
| 818 | markTasksAsSkipped(t, runner) |
| 819 | } |
| 820 | }) |
| 821 | } |
| 822 | |
| 823 | function markPendingTasksAsSkipped(suite: Suite, runner: VitestRunner, note?: string) { |
| 824 | suite.tasks.forEach((t) => { |
no test coverage detected