From eb66bc6a31dc44c183483bce2bd358cc5f7304f8 Mon Sep 17 00:00:00 2001 From: iaj2 Date: Mon, 4 Dec 2023 12:27:10 -0800 Subject: [PATCH] Update zeromq. --- __mocks__/zeromq.js | 19 ------------------- tsconfig.json | 4 +++- 2 files changed, 3 insertions(+), 20 deletions(-) delete mode 100644 __mocks__/zeromq.js diff --git a/__mocks__/zeromq.js b/__mocks__/zeromq.js deleted file mode 100644 index edc8647..0000000 --- a/__mocks__/zeromq.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; -class MockRequest { - constructor() { - // Do nothing - } - connect(_mock_endpoint) { - // Do nothing; mock the connect method - } - send(_request_data) { - // Do nothing - } - receive() { - // Do nothing - } -} -const zeromq = { - Request: MockRequest, // Use the custom MockRequest instead of zmq.Request -}; -module.exports = zeromq; diff --git a/tsconfig.json b/tsconfig.json index 9d978aa..e53d138 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,5 +13,7 @@ "outDir": "./lib" }, "include": [ - "./src"] + "./src", + "./jest.config.js" + ] }