Skip to content

[TEST] Add component tests for ConnectorFields.js (Java WebSocket Template) #2014

Description

@techmannih

Description

Adds unit tests for the ConnectorFields.js component in the Java Quarkus WebSocket client template. This component is responsible for generating the @Inject fields for the WebSocketConnector and the conditional @ConfigProperty for the base URI.

Adding these tests ensures that the injection logic and configuration properties are correctly rendered based on the presence of query parameters.

Component location

packages/templates/clients/websocket/java/quarkus/components/ConnectorFields.js

I’m happy to submit a PR implementing this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions