(
entries: Array<[string, Parameters<typeof testInstance>[1]?]>,
options: { failedServerNames?: string[]; timedOutServerNames?: string[] } = {}
)
| 67 | } |
| 68 | |
| 69 | function startResult( |
| 70 | entries: Array<[string, Parameters<typeof testInstance>[1]?]>, |
| 71 | options: { failedServerNames?: string[]; timedOutServerNames?: string[] } = {} |
| 72 | ) { |
| 73 | return { |
| 74 | instances: new Map( |
| 75 | entries.map(([name, instanceOptions]) => [name, testInstance(name, instanceOptions)]) |
| 76 | ), |
| 77 | failedServerNames: options.failedServerNames ?? [], |
| 78 | timedOutServerNames: options.timedOutServerNames ?? [], |
| 79 | }; |
| 80 | } |
| 81 | |
| 82 | function cachedStats(overrides: Record<string, unknown> = {}) { |
| 83 | return { |
no test coverage detected