test(router): prove introspection parity after the radix index (CARD-09, #109)
The frozen CARD-08 goldens already hold graph(), explain(), openapi() and
the mesh teacup. This adds what they do not cover, with expectations
captured from the pre-radix code at ed47836 in a detached checkout:
- explain()/inspect() on a pattern shared by several methods with a
non-GET declared first, and a concrete path that is not a declaration;
- /__graph__ and /__openapi__ on app.fetch, a Node listener and a mesh
teacup, and their agreement with the direct API;
- a structural check that graph/explain/inspect/openapi never call the
router lookup, return the same output before and after the index is
built, and keep declaration order where the index ranks differently.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
2 files changed
+1475
No files matched your search
+1091
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user