js: Inline expectation should have space after $

This was a regex-find-replace from `// \$(?! )` (using a negative lookahead) to `// $ `.
This commit is contained in:
Owen Mansel-Chan
2026-03-04 11:41:34 +00:00
parent 45eb14975a
commit 0eccd902c2
12 changed files with 156 additions and 156 deletions

View File

@@ -3,12 +3,12 @@ const WebSocket = require('ws');
(function () {
const wss = new WebSocket.Server({ port: 8080 });
wss.on('connection', function connection(ws) { // $serverSocket
ws.on('message', function incoming(message) { // $remoteFlow
wss.on('connection', function connection(ws) { // $ serverSocket
ws.on('message', function incoming(message) { // $ remoteFlow
console.log('received: %s', message);
}); // $serverReceive
}); // $ serverReceive
ws.send('Hi from server!'); // $serverSend
ws.send('Hi from server!'); // $ serverSend
});
})();