From c7838ac3bb0475d953b604da8b42bf6746c69432 Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Mon, 1 Apr 2024 11:08:59 -0300 Subject: [PATCH] fix websocket in react and add to test sample --- .../webapp/app/modules/administration/tracker/tracker.tsx.ejs | 4 ++-- .../samples/react-gradle-mysql-es-noi18n-mapsid/.yo-rc.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/generators/react/templates/src/main/webapp/app/modules/administration/tracker/tracker.tsx.ejs b/generators/react/templates/src/main/webapp/app/modules/administration/tracker/tracker.tsx.ejs index 3fb84b02ffae..08e15057a74d 100644 --- a/generators/react/templates/src/main/webapp/app/modules/administration/tracker/tracker.tsx.ejs +++ b/generators/react/templates/src/main/webapp/app/modules/administration/tracker/tracker.tsx.ejs @@ -26,8 +26,8 @@ export const TrackerPage = () => { return (
-

- Real-time user activities +

+ Real-time user activities

diff --git a/test-integration/samples/react-gradle-mysql-es-noi18n-mapsid/.yo-rc.json b/test-integration/samples/react-gradle-mysql-es-noi18n-mapsid/.yo-rc.json index 9a505b888645..bad716ec6f4d 100644 --- a/test-integration/samples/react-gradle-mysql-es-noi18n-mapsid/.yo-rc.json +++ b/test-integration/samples/react-gradle-mysql-es-noi18n-mapsid/.yo-rc.json @@ -30,6 +30,6 @@ "serverPort": "8080", "serviceDiscoveryType": "no", "testFrameworks": ["gatling", "cypress"], - "websocket": "no" + "websocket": "spring-websocket" } }