@mjlee - I copied your code and I’m not getting the same results.
From the browser console:

socketNotificationReceived: GOT_DATA MMM-MYTEST.js:20 MMM-MYTEST: Getting data MMM-MYTEST.js:34 socketNotificationReceived: GOT_DATA MMM-MYTEST.js:20 MMM-MYTEST: Getting data MMM-MYTEST.js:34

And from the terminal console:

Ready to go! Please point your browser to: http://localhost:8080 [28.02.2023 20:52.46.170] [LOG] Notification: GET_DATA Payload: {"config":{"intervalSecs":10}} [28.02.2023 20:52.46.207] [INFO] Checking git for module: MMM-MYTEST [28.02.2023 20:52.46.207] [INFO] Checking git for module: default [28.02.2023 20:52.56.164] [LOG] Notification: GET_DATA Payload: {"config":{"intervalSecs":10}} [28.02.2023 20:53.06.156] [LOG] Notification: GET_DATA Payload: {"config":{"intervalSecs":10}}

Perhaps the issue is that you’re looking at the wrong console log? The MYTEST.js log will write to the browser’s console rather than the terminal.