Writing Bundler Tests Bundler tests use from to test Bun's bundler. Basic Usage Test ID format: (e.g., , ) File Setup Bundler Options Runtime Verification Bundle Errors/Warnings Dead Code Elimination (DCE) Add markers in source code: Capture Pattern Verify exact transpilation with : Post-Bundle Assertions Common Patterns Simple output verification: Multi-file CJS/ESM interop: Error handling: Test Organization Running Tests Key Points - Use for readable multi-line code - File paths are relative (e.g., ) - Use to verify exact transpilation results - Use for complex outputs - Pass array to for m…