diff --git a/test/bundler/expectBundled.ts b/test/bundler/expectBundled.ts index 63f9f8e30f..c5f41701bf 100644 --- a/test/bundler/expectBundled.ts +++ b/test/bundler/expectBundled.ts @@ -826,7 +826,7 @@ const build = await Bun.build(options); if (build.logs) { throw build.logs; } -for (const blob of build.outputs) { +for (const [key, blob] of build.outputs) { await Bun.write(path.join(options.outdir, blob.path), blob.result); } `;