This commit is contained in:
Adria Navarro 2023-08-24 11:47:42 +02:00
parent cfeb6993cc
commit 3e70369832
1 changed files with 3 additions and 2 deletions

View File

@ -1,12 +1,13 @@
import TestConfiguration from "../../../../tests/utilities/TestConfiguration"
import { PermissionLevel } from "@budibase/types" import { PermissionLevel } from "@budibase/types"
import { mocks, structures } from "@budibase/backend-core/tests" import { mocks, structures } from "@budibase/backend-core/tests"
import { resourceActionAllowed } from ".." import { resourceActionAllowed } from ".."
import { generateViewID } from "../../../../db/utils" import { generateViewID } from "../../../../db/utils"
import { initProMocks } from "../../../../tests/utilities/mocks/pro"
initProMocks()
describe("permissions sdk", () => { describe("permissions sdk", () => {
beforeEach(() => { beforeEach(() => {
new TestConfiguration()
mocks.licenses.useCloudFree() mocks.licenses.useCloudFree()
}) })