(iter: AsyncIterable<T>)
| 84 | } |
| 85 | |
| 86 | async function collect<T>(iter: AsyncIterable<T>): Promise<T[]> { |
| 87 | const out: T[] = []; |
| 88 | for await (const v of iter) out.push(v); |
| 89 | return out; |
| 90 | } |
| 91 | |
| 92 | describe('roomsFromFilesystem — layout detection', () => { |
| 93 | it('treats a file path as a JSON blob', async () => { |
no test coverage detected