(t, type, execaMethod)
| 49 | test('WebTransform errors make subprocess fail even when other output generators do not throw', testSingleErrorOutput, 'webTransform', execa); |
| 50 | |
| 51 | const testSingleErrorInput = async (t, type, execaMethod) => { |
| 52 | await assertProcessError(t, type, execaMethod, transform => execaMethod('stdin.js', { |
| 53 | stdin: [ |
| 54 | ['foobar\n'], |
| 55 | generatorsMap[type].noop(false), |
| 56 | transform, |
| 57 | generatorsMap[type].noop(false), |
| 58 | ], |
| 59 | })); |
| 60 | }; |
| 61 | |
| 62 | test('Generators errors make subprocess fail even when other input generators do not throw', testSingleErrorInput, 'generator', execa); |
| 63 | test('Generators errors make subprocess fail even when other input generators do not throw, sync', testSingleErrorInput, 'generator', execaSync); |
nothing calls this directly
no test coverage detected
searching dependent graphs…