* Add testCase(s)
(testCases: TestCaseT[])
| 79 | * Add testCase(s) |
| 80 | */ |
| 81 | add(testCases: TestCaseT[]): this { |
| 82 | if (!Array.isArray(testCases)) { |
| 83 | testCases = [testCases]; |
| 84 | } |
| 85 | for (const testCase of testCases) { |
| 86 | this._testCases.push(testCase); |
| 87 | } |
| 88 | return this; |
| 89 | } |
| 90 | |
| 91 | /** |
| 92 | * Returns a promise that resolves when all the test cases are done |
nothing calls this directly
no outgoing calls
no test coverage detected