test unit test fix

This commit is contained in:
Peter Clement 2022-07-21 12:48:39 +01:00
parent 7dc245f073
commit dc991996e3
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 () => {