You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
New RESP2 parser (#1899)
* parser * a new RESP parser :) * clean code * fix simple string and bulk string cursor * performance improvements * change typescript compiler target * do not use stream.Transform * Update decoder.ts * fix for1d09acb
* improve integer performance * revert1d09acb
* improve RESP2 decoder performance * improve performance * improve encode performance * remove unused import * upgrade benchmark deps * clean code * fix socket error handlers, reset parser on error * fix #2080 - reset pubSubState on socket error * reset decoder on socket error * fix pubsub * fix "RedisSocketInitiator" * fix returnStringsAsBuffers * fix merge
This commit is contained in:
@@ -348,7 +348,7 @@ describe('Client', () => {
|
||||
testUtils.testWithClient('undefined and null should not break the client', async client => {
|
||||
await assert.rejects(
|
||||
client.sendCommand([null as any, undefined as any]),
|
||||
'ERR unknown command ``, with args beginning with: ``'
|
||||
TypeError
|
||||
);
|
||||
|
||||
assert.equal(
|
||||
|
Reference in New Issue
Block a user