1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

chore: refactor main code into smaller parts

This commit is contained in:
Ruben Bridgewater
2017-05-27 03:41:27 +02:00
parent be3976e8ba
commit 2aa3b68fc6
9 changed files with 205 additions and 190 deletions

View File

@@ -460,6 +460,7 @@ describe('publish/subscribe', () => {
sub.set('foo', data).then(() => {
sub.get('foo')
sub._stream.once('data', () => {
// TODO: Improve this test to test if a buffer is returned for any call
assert.strictEqual(sub.messageBuffers, false)
assert.strictEqual(sub.shouldBuffer, false)
sub.on('pmessageBuffer', (pattern, channel, message) => {