You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~/careplanner/nodejs-websocket (master) $ npm test
nodejs-websocket@1.7.2 test
mocha -R spec -b
extraHeaders
✓ should create a headerString with extra header options
frames
✓ should connect to a websocket server
1) should deliver texts in order
2 passing (50ms)
1 failing
frames
should deliver texts in order:
TypeError [ERR_UNKNOWN_ENCODING]: Unknown encoding: 1
at new NodeError (node:internal/errors:405:5)
at _write (node:internal/streams/writable:296:13)
at Writable.write (node:internal/streams/writable:337:10)
at Connection.sendText (Connection.js:142:23)
at Array.forEach ()
at Context. (test/test.js:75:8)
at process.processImmediate (node:internal/timers:476:21)
The text was updated successfully, but these errors were encountered:
~/careplanner/nodejs-websocket (master) $ npm test
extraHeaders
✓ should create a headerString with extra header options
frames
✓ should connect to a websocket server
1) should deliver texts in order
2 passing (50ms)
1 failing
should deliver texts in order:
TypeError [ERR_UNKNOWN_ENCODING]: Unknown encoding: 1
at new NodeError (node:internal/errors:405:5)
at _write (node:internal/streams/writable:296:13)
at Writable.write (node:internal/streams/writable:337:10)
at Connection.sendText (Connection.js:142:23)
at Array.forEach ()
at Context. (test/test.js:75:8)
at process.processImmediate (node:internal/timers:476:21)
The text was updated successfully, but these errors were encountered: