You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
fix some types
This commit is contained in:
@@ -573,8 +573,8 @@ describe('Client', () => {
|
||||
describe('PubSub', () => {
|
||||
testUtils.testWithClient('should be able to publish and subscribe to messages', async publisher => {
|
||||
function assertStringListener(message: string, channel: string) {
|
||||
assert.ok(typeof message === 'string');
|
||||
assert.ok(typeof channel === 'string');
|
||||
assert.equal(typeof message, 'string');
|
||||
assert.equal(typeof channel, 'string');
|
||||
}
|
||||
|
||||
function assertBufferListener(message: Buffer, channel: Buffer) {
|
||||
|
Reference in New Issue
Block a user