Skip to content
Myr

Add passing the same transform multiple times (#697)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by ehmicky · committed by GitHub · parent b6f9fa2 · Browse files · 2 files+26 added−16 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+26 added−16 removed

  • tests:+5 added−0 removed
  • other:+21 added−16 removed

2 files+26 added−16 removed

modified:lib/stdio/handle.js+21 added-16 removed
modified:test/stdio/generator.js+5 added
337 unmodified lines
338339test('Can use multiple generators as output', testAppendOutput, false);340test('Can use multiple generators as output, reversed', testAppendOutput, true);341342test('Can use multiple identical generators', async t => {343 const {stdout} = await execa('noop-fd.js', ['1', foobarString], {stdout: [appendGenerator, appendGenerator]});344 t.is(stdout, `${foobarString}${casedSuffix}${casedSuffix}`);345});346347const maxBuffer = 10;348349test('Generators take "maxBuffer" into account', async t => {350 const bigString = '.'.repeat(maxBuffer);
55 unmodified lines