Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: test if params are not duplicated in the tree #597

Merged
merged 2 commits into from
Mar 9, 2025

Conversation

Anoesj
Copy link
Contributor

@Anoesj Anoesj commented Mar 8, 2025

This tests if the tree does not contain duplicated params, whenever a child route overrides the path with an absolute path, that contains the same params as one of its parents has already defined.

Copy link

pkg-pr-new bot commented Mar 9, 2025

Open in Stackblitz

npm i https://pkg.pr.new/unplugin-vue-router@597

commit: d90bf5b

Copy link

codecov bot commented Mar 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.72%. Comparing base (e7789e9) to head (d90bf5b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #597   +/-   ##
=======================================
  Coverage   61.72%   61.72%           
=======================================
  Files          32       32           
  Lines        3135     3135           
  Branches      579      580    +1     
=======================================
  Hits         1935     1935           
  Misses       1194     1194           
  Partials        6        6           

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

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@posva posva merged commit 4c1c307 into posva:main Mar 9, 2025
13 checks passed
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