mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-30 16:50:47 +08:00
We replace the tests for `routeToPath` with a test that calls `pathToRoute(routeToPath(route))`. These test do not only cover the assertions of the previous tests but also check an important invariant for route parsing and building. I’m not using `test.each` here because this makes the tests less readable. Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>