Skip to content

refactor(test): remove special test-only logic for snapshot testing - #1332

Merged
hyfdev merged 1 commit into
mainfrom
06-04-refactor_test_remove_special_test-only_logic
Jun 3, 2024
Merged

hyfdev merged 1 commit into
mainfrom
06-04-refactor_test_remove_special_test-only_logic

Conversation

@hyfdev

@hyfdev hyfdev commented Jun 3, 2024

Copy link
Copy Markdown
Member

Description

@hyfdev hyfdev changed the title refactor(test): remove special test-only logic refactor(test): remove special test-only logic for snapshot testing Jun 3, 2024
@codecov

codecov Bot commented Jun 3, 2024 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 95.00000% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 86.65%. Comparing base (85650b3) to head (14527e3).
Report is 4 commits behind head on main.

❗ Current head 14527e3 differs from pull request most recent head 4c8c1c4

Please upload reports for the commit 4c8c1c4 to get more accurate results.

Files Patch % Lines
crates/rolldown/src/utils/render_normal_module.rs 92.30% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1332      +/-   ##
==========================================
- Coverage   86.76%   86.65%   -0.12%     
==========================================
  Files         137      137              
  Lines        7051     7029      -22     
==========================================
- Hits         6118     6091      -27     
- Misses        933      938       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions

github-actions Bot commented Jun 3, 2024 •

Copy link
Copy Markdown
Contributor

Benchmarks Rust

  • target: main(886a5f4)
  • pr: 06-04-refactor_test_remove_special_test-only_logic(4c8c1c4)
group                                      pr                                     target
-----                                      --                                     ------
rolldown benchmark/threejs-bundle          1.00     31.2±0.64ms        ? ?/sec    1.00     31.1±0.58ms        ? ?/sec
rolldown benchmark/threejs-scan            1.00     21.5±0.63ms        ? ?/sec    1.00     21.4±0.25ms        ? ?/sec
rolldown benchmark/threejs-sourcemap       1.02     41.8±2.06ms        ? ?/sec    1.00     41.1±0.53ms        ? ?/sec
rolldown benchmark/threejs10x-bundle       1.01    337.8±7.50ms        ? ?/sec    1.00    335.7±6.38ms        ? ?/sec
rolldown benchmark/threejs10x-scan         1.00    208.6±2.38ms        ? ?/sec    1.01    209.9±2.27ms        ? ?/sec
rolldown benchmark/threejs10x-sourcemap    1.00    456.6±8.72ms        ? ?/sec    1.00    454.7±7.90ms        ? ?/sec

@codspeed

codspeed Bot commented Jun 3, 2024 •

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #1332 will not alter performance

Comparing 06-04-refactor_test_remove_special_test-only_logic (4c8c1c4) with main (886a5f4)

Summary

✅ 6 untouched benchmarks

@hyfdev
hyfdev force-pushed the 06-04-refactor_test_remove_special_test-only_logic branch from 6b83eec to 14527e3 Compare June 3, 2024 18:15
@hyfdev
hyfdev force-pushed the 06-04-refactor_runtime_module_use_rolldown_runtime_as_the_resource_id_of_runtime_module_instead_of_0_runtime_ branch from 9ae7d55 to 5e216a2 Compare June 3, 2024 18:23
@hyfdev
hyfdev force-pushed the 06-04-refactor_test_remove_special_test-only_logic branch from 14527e3 to 0e27462 Compare June 3, 2024 18:23
@hyfdev
hyfdev force-pushed the 06-04-refactor_runtime_module_use_rolldown_runtime_as_the_resource_id_of_runtime_module_instead_of_0_runtime_ branch from 5e216a2 to a458a53 Compare June 3, 2024 18:24
@hyfdev
hyfdev force-pushed the 06-04-refactor_test_remove_special_test-only_logic branch from 0e27462 to d9c6c86 Compare June 3, 2024 18:24
@hyfdev
hyfdev force-pushed the 06-04-refactor_runtime_module_use_rolldown_runtime_as_the_resource_id_of_runtime_module_instead_of_0_runtime_ branch from a458a53 to 6e09d53 Compare June 3, 2024 18:24
@hyfdev
hyfdev force-pushed the 06-04-refactor_test_remove_special_test-only_logic branch from d9c6c86 to b81bba6 Compare June 3, 2024 18:24
Base automatically changed from 06-04-refactor_runtime_module_use_rolldown_runtime_as_the_resource_id_of_runtime_module_instead_of_0_runtime_ to main June 3, 2024 18:25
@hyfdev
hyfdev force-pushed the 06-04-refactor_test_remove_special_test-only_logic branch from b81bba6 to 4c8c1c4 Compare June 3, 2024 18:25
@netlify

netlify Bot commented Jun 3, 2024

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit 4c8c1c4
🔍 Latest deploy log https://app.netlify.com/sites/rolldown-rs/deploys/665e0a9ec42ff6000814b8a9

@hyfdev
hyfdev merged commit 14b7bfc into main Jun 3, 2024
@hyfdev
hyfdev deleted the 06-04-refactor_test_remove_special_test-only_logic branch June 3, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant