From a094c81e49ac59a32ecf8ae7aff3ff637ac6e6f9 Mon Sep 17 00:00:00 2001 From: Iwo Plaza Date: Mon, 25 Dec 2023 22:28:55 +0100 Subject: [PATCH] Made test suite more compatible with Node 12 --- src/test/socket-io-usage.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/socket-io-usage.test.ts b/src/test/socket-io-usage.test.ts index c21db09..2244f53 100644 --- a/src/test/socket-io-usage.test.ts +++ b/src/test/socket-io-usage.test.ts @@ -1,6 +1,6 @@ import * as chai from 'chai'; -import { createServer } from 'node:http'; -import { type AddressInfo } from 'node:net'; +import { createServer } from 'http'; +import { type AddressInfo } from 'net'; import { Server, Socket as ServerSocket } from 'socket.io'; import { Socket as ClientSocket, io as ioClient } from 'socket.io-client';