(process)
| 1 | import cp from 'child_process'; |
| 2 | |
| 3 | const waitForProcess = async (process) => { |
| 4 | return new Promise((resolve) => { |
| 5 | let output = ''; |
| 6 | process.stdout.on('data', (chunk) => { |
| 7 | output += chunk.toString(); |
| 8 | }); |
| 9 | process.on('close', () => { |
| 10 | resolve(output); |
| 11 | }); |
| 12 | }); |
| 13 | }; |
| 14 | |
| 15 | it('Ensures that package do not include core-js dependency after build', async () => { |
| 16 | // eslint-disable-next-line import/no-extraneous-dependencies |
no test coverage detected