1
0
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:
leibale
2021-05-12 18:27:35 -04:00
parent b2f0eb3460
commit 38b2bd75fb
20 changed files with 220 additions and 345 deletions

View File

@@ -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