You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-17 19:41:06 +03:00
spawn redis-servers for tests,
add some tests, fix client auth on connect
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { itWithClient } from '../test-utils.js';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils.js';
|
||||
import { transformArguments, transformReply } from './COPY.js';
|
||||
|
||||
describe('COPY', () => {
|
||||
@@ -56,7 +56,7 @@ describe('COPY', () => {
|
||||
});
|
||||
});
|
||||
|
||||
itWithClient('client.copy', {}, async client => {
|
||||
itWithClient(TestRedisServers.OPEN, 'client.copy', async client => {
|
||||
assert.equal(
|
||||
await client.copy('source', 'destination'),
|
||||
false
|
||||
|
Reference in New Issue
Block a user