From ed18dfe1b383e35b68cda7aed1183a22b1a7f566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filipe=20Caba=C3=A7o?= Date: Mon, 2 Dec 2024 23:41:17 +0000 Subject: [PATCH] import crypto for testing --- test/socket.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/socket.test.ts b/test/socket.test.ts index a8404ef..8aed78f 100644 --- a/test/socket.test.ts +++ b/test/socket.test.ts @@ -3,6 +3,7 @@ import { describe, beforeEach, afterEach, test, vi, expect } from 'vitest' import { Server, WebSocket as MockWebSocket } from 'mock-socket' import WebSocket from 'ws' import sinon from 'sinon' +import crypto from 'crypto' import RealtimeClient from '../src/RealtimeClient' import jwt from 'jsonwebtoken'