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" + ] }