(t, bundle)
| 23 | const outputFile = './output/bundle.js'; |
| 24 | const outputDir = './output/'; |
| 25 | const testBundle = async (t, bundle) => { |
| 26 | const code = await getCode(bundle); |
| 27 | const func = new AsyncFunction('t', `let result;\n\n${code}\n\nreturn result;`); |
| 28 | return func(t); |
| 29 | }; |
| 30 | test('async compiling', async () => { |
| 31 | expect.assertions(2); |
| 32 | const bundle = await rollup({ |