From 83002a823465fe03a8d82833cb2e073a383405a8 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 22 May 2023 17:04:39 +0200 Subject: Update server dependencies --- server/tests/shared/mock-servers/mock-proxy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tests/shared/mock-servers') diff --git a/server/tests/shared/mock-servers/mock-proxy.ts b/server/tests/shared/mock-servers/mock-proxy.ts index cbc7c4466..e741d6735 100644 --- a/server/tests/shared/mock-servers/mock-proxy.ts +++ b/server/tests/shared/mock-servers/mock-proxy.ts @@ -1,5 +1,5 @@ import { createServer, Server } from 'http' -import proxy from 'proxy' +import { createProxy } from 'proxy' import { getPort, terminateServer } from './shared' class MockProxy { @@ -7,7 +7,7 @@ class MockProxy { initialize () { return new Promise(res => { - this.server = proxy(createServer()) + this.server = createProxy(createServer()) this.server.listen(0, () => res(getPort(this.server))) }) } -- cgit v1.2.3