Skip to content

chore(vite_pm_cli): enable lib tests by removing stale test = false#1661

Merged
fengmk2 merged 3 commits into
mainfrom
05-22-chore_vite_pm_cli_enable_lib_tests_by_removing_stale
May 22, 2026
Merged

chore(vite_pm_cli): enable lib tests by removing stale test = false#1661
fengmk2 merged 3 commits into
mainfrom
05-22-chore_vite_pm_cli_enable_lib_tests_by_removing_stale

Conversation

@shulaoda
Copy link
Copy Markdown
Member

Summary

  • crates/vite_pm_cli/src/cli.rs contains real unit tests (#[cfg(test)] mod tests with #[test] cases around line 1146), but Cargo.toml had [lib] test = false, which silently excluded them from cargo test.
  • cargo shear --fix (invoked via just fmt) flagged and removed the obsolete test = false line so the existing tests are picked up.

@shulaoda shulaoda requested a review from fengmk2 May 22, 2026 06:02
@netlify
Copy link
Copy Markdown

netlify Bot commented May 22, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 049730e
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a0ff99e8aa9df000884caaf

@fengmk2 fengmk2 merged commit 6b0ae34 into main May 22, 2026
39 checks passed
@fengmk2 fengmk2 deleted the 05-22-chore_vite_pm_cli_enable_lib_tests_by_removing_stale branch May 22, 2026 07:07
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.

2 participants