Module

Test.Routing

Tests for the routing codec defined in FPO.Data.Route.

These tests verify that:

  1. Routes can be printed and then parsed back (round-trip).
  2. URL strings are parsed to the expected Route values.
  3. The new Editor query parameters (revision, paragraph, splitview) work correctly.
  4. The Login redirect query parameter works correctly.
  5. The Unauthorized route round-trips and parses correctly.
  6. Login redirect preserves protected routes (admin, profile, groups).
  7. Edge cases (missing params, empty params) are handled gracefully.

#routeCodecTests

Modules