Skip to content

[Test]:Missing unit tests for security and protocol mapping logic in ServerHelpers #1218

@SHUBHANSHU602

Description

@SHUBHANSHU602

The helper ServerHelpers contains core decision logic for mapping AsyncAPI security schemes and protocols to user-facing labels and Kafka connection settings, but currently lacks dedicated unit tests.

Affected file (exact path)

'asyncapi-react/library/src/helpers/server.ts'

Why tests are required

This file encodes business and protocol semantics, not presentation logic.
Failures here do not throw errors but silently produce incorrect security information in the UI.

Key logic that needs coverage;

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions