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.
Description
Adds unit tests for the ConnectorFields.js component in the Java Quarkus WebSocket client template. This component is responsible for generating the
@Injectfields for theWebSocketConnectorand the conditional@ConfigPropertyfor 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.jsI’m happy to submit a PR implementing this.