From dc991996e3b040405b2f5d6fa0a520eb3c7aa568 Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Thu, 21 Jul 2022 12:48:39 +0100 Subject: [PATCH] test unit test fix --- packages/worker/src/api/routes/tests/users.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/worker/src/api/routes/tests/users.spec.js b/packages/worker/src/api/routes/tests/users.spec.js index 62cc02fde8..713dc80657 100644 --- a/packages/worker/src/api/routes/tests/users.spec.js +++ b/packages/worker/src/api/routes/tests/users.spec.js @@ -1,8 +1,8 @@ jest.mock("nodemailer") +jest.mock("@budibase/pro") const { config, request, mocks, structures } = require("../../../tests") const sendMailMock = mocks.email.mock() const { events } = require("@budibase/backend-core") - describe("/api/global/users", () => { beforeAll(async () => {