(gen: AsyncGenerator<string, string, unknown>)
| 16 | }); |
| 17 | |
| 18 | const asyncGeneratorToArray = async (gen: AsyncGenerator<string, string, unknown>) => { |
| 19 | const entries: string[] = []; |
| 20 | for await (const entry of gen) { |
| 21 | entries.push(entry); |
| 22 | } |
| 23 | return entries; |
| 24 | }; |
| 25 | |
| 26 | it("should handle empty folders", async () => { |
| 27 | vol.fromNestedJSON( |
no outgoing calls
no test coverage detected
searching dependent graphs…