Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: expect 0 to be defined #2506
This fix feels hacky but I think for all practical purposes, it should be fine.
Maybe I would create a copy of params instead of mutating it to eliminate need to remove property and make it a bit cleaner.
Also, I would add tests to test the bug and the fix - here is my modified create-matcher.spec.js with relevant tests added - https://gist.github.com/rchl/2418f5c40e66f9f27a34f89f83960b9a
Please prioritize this @posva as it's a breaking bug in specific setup (with nuxt-i18n) and in development ENV, it breaks nuxt-link/router-link (in production just cases warning in the client).