Use
This commit is contained in:
parent
cfeb6993cc
commit
3e70369832
|
@ -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()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue