()
| 582 | test('should prevent self-triggering jobs by default', async () => { |
| 583 | let count = 0 |
| 584 | const job = () => { |
| 585 | if (count < 3) { |
| 586 | count++ |
| 587 | queueJob(job) |
| 588 | } |
| 589 | } |
| 590 | queueJob(job) |
| 591 | await nextTick() |
| 592 | // only runs once - a job cannot queue itself |
nothing calls this directly
no test coverage detected