test unit test fix

This commit is contained in:
Peter Clement 2022-07-21 12:48:39 +01:00
parent ad1cf0726f
commit 4ff53e5c13
1 changed files with 1 additions and 1 deletions

View File

@ -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 () => {