Commit 689c928
committed
test: migrate post-banner sourcemap-with-shebang to Rust (#8477)
Migrates the `post-banner/sourcemap-with-shebang` test from the Node.js fixture suite to a Rust integration test, with `visualizeSourcemap` enabled for clearer snapshot-based validation.
## Changes
- Removed Node.js test files in `packages/rolldown/tests/fixtures/function/post-banner/sourcemap-with-shebang/`
- Added Rust test in `crates/rolldown/tests/rolldown/function/post_banner_sourcemap_with_shebang/` with `_config.json`, `main.js`, and `artifacts.snap`
- Updated `filename_with_hash` snapshot to include the new test's output files
<!-- START COPILOT CODING AGENT TIPS -->
---
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. [Learn more about Advanced Security.](https://gh.io/cca-advanced-security)1 parent 40852c5 commit 689c928
File tree
5 files changed
+39
-26
lines changed- crates/rolldown/tests
- rolldown/function/post_banner_sourcemap_with_shebang
- snapshots
- packages/rolldown/tests/fixtures/function/post-banner/sourcemap-with-shebang
5 files changed
+39
-26
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4447 | 4447 | | |
4448 | 4448 | | |
4449 | 4449 | | |
| 4450 | + | |
| 4451 | + | |
| 4452 | + | |
| 4453 | + | |
| 4454 | + | |
4450 | 4455 | | |
4451 | 4456 | | |
4452 | 4457 | | |
| |||
Lines changed: 0 additions & 26 deletions
This file was deleted.
0 commit comments