Skip to content

Add an async context data test for @fedify/express #855

Description

@dahlia

@fedify/express accepts both synchronous and asynchronous context data factories. The async path should be covered so applications can safely load context from sessions or databases.

Add a test in packages/express/src/index.test.ts that verifies integrateFederation() waits for an async contextDataFactory and passes the resolved value to federation.fetch().

Suggested check: mise run check-each express.

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