Skip to content

Test custom error handlers in @fedify/next #870

Description

@dahlia

@fedify/next accepts custom federation fetch handlers so apps can override the default 404 and 406 responses. That extension point should have a direct regression test.

Add a test in packages/next/src/index.test.ts that verifies integrateFederation() passes custom onNotFound or onNotAcceptable handlers to federation.fetch().

Suggested check: mise run check-each next.

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    Priority

    Low

    Effort

    Low

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions