MCPcopy Create free account
hub / github.com/banga/git-split-diffs / g

Function g

src/zip.test.ts:47–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45
46 test('single', async () => {
47 async function* g() {
48 yield Promise.resolve(1);
49 yield Promise.resolve(2);
50 yield Promise.resolve(3);
51 }
52 expect(await drain(zipAsync(g()))).toEqual([[1], [2], [3]]);
53 });
54

Callers 1

zip.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected