(bundle)
| 5 | process.chdir(__dirname); |
| 6 | |
| 7 | const testBundle = async (bundle) => { |
| 8 | const { output } = await bundle.generate({ format: 'cjs' }); |
| 9 | const [{ code }] = output; |
| 10 | const func = new Function(code); // eslint-disable-line no-new-func |
| 11 | |
| 12 | return func(); |
| 13 | }; |
| 14 | |
| 15 | test('converts a csv file', async () => { |
| 16 | const bundle = await rollup({ |
no outgoing calls
no test coverage detected