fix tests

This commit is contained in:
Martin McKeaveney 2021-09-30 10:35:53 +01:00
parent 6ebc5a389b
commit 6681542ab5
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,9 @@ jest.mock("../../environment", () => ({
isDev: () => true,
_set: () => {},
}))
jest.mock("@budibase/auth/tenancy", () => ({
getTenantId: () => "testing123"
}))
const usageQuotaMiddleware = require("../usageQuota")
const usageQuota = require("../../utilities/usageQuota")