* @returns {Promise }
()
| 952 | * @returns {Promise<void>} |
| 953 | */ |
| 954 | async processPendingSubtests() { |
| 955 | while (this.pendingSubtests.length > 0 && this.hasConcurrency()) { |
| 956 | const deferred = this.dequeuePendingSubtest(); |
| 957 | const test = deferred.test; |
| 958 | this.assignReportOrder(test); |
| 959 | test.reporter.dequeue(test.nesting, test.loc, test.name, this.reportedType, test.testId, this.testId, test.tags); |
| 960 | await test.run(); |
| 961 | deferred.resolve(); |
| 962 | } |
| 963 | } |
| 964 | |
| 965 | /** |
| 966 | * @param {any} subtest |
no test coverage detected