(t, type, execaMethod)
| 34 | test('WebTransform "transform" errors make subprocess fail', testThrowingGenerator, 'webTransform', false, execa); |
| 35 | |
| 36 | const testSingleErrorOutput = async (t, type, execaMethod) => { |
| 37 | await assertProcessError(t, type, execaMethod, transform => execaMethod('noop.js', { |
| 38 | stdout: [ |
| 39 | generatorsMap[type].noop(false), |
| 40 | transform, |
| 41 | generatorsMap[type].noop(false), |
| 42 | ], |
| 43 | })); |
| 44 | }; |
| 45 | |
| 46 | test('Generators errors make subprocess fail even when other output generators do not throw', testSingleErrorOutput, 'generator', execa); |
| 47 | test('Generators errors make subprocess fail even when other output generators do not throw, sync', testSingleErrorOutput, 'generator', execaSync); |
nothing calls this directly
no test coverage detected
searching dependent graphs…