1
0
Fork 0
mirror of synced 2024-10-02 01:56:57 +13:00

fix tests

This commit is contained in:
Martin McKeaveney 2021-09-30 10:35:53 +01:00
parent e9fcf51f27
commit e2c4663541

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")