You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-12-12 21:21:15 +03:00
feat(proxy): implement express style middleware (#3105)
This commit is contained in:
committed by
GitHub
parent
1cda848393
commit
b8267c9b82
@@ -313,11 +313,10 @@ export default class TestUtils {
|
||||
//@ts-ignore
|
||||
targetPort: socketOptions.port,
|
||||
//@ts-ignore
|
||||
targetHost: socketOptions.host,
|
||||
targetHost: socketOptions.host ?? '127.0.0.1',
|
||||
enableLogging: true
|
||||
});
|
||||
|
||||
|
||||
await proxy.start();
|
||||
const proxyClient = client.duplicate({
|
||||
socket: {
|
||||
|
||||
Reference in New Issue
Block a user