fix tests

This commit is contained in:
Martin McKeaveney 2021-09-30 10:35:53 +01:00
parent e9fcf51f27
commit e2c4663541
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")