Skip to content

Improve router compatibility with Vue.js 3

Illya Klymov requested to merge xanf-fix-router into master

What does this MR do and why?

This MR improves router compatibility with Vue.js 3 Related issue Ensure all jest test suites could be run with @... (#390830 - closed)

  • add support for nested catch-all routes
  • fix extra params
  • add proper router-link mock

Screenshots or screen recordings

N/A

How to set up and validate locally

VUE_VERSION=3 yarn jest --maxWorkers 6

should not fail entire test suites about router-related issues

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports