Setuo init pro mocks

This commit is contained in:
Adria Navarro 2023-08-24 11:47:51 +02:00
parent 3e70369832
commit 12be5a3d83
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
// init the licensing mock
import { mocks } from "@budibase/backend-core/tests"
import * as pro from "@budibase/pro"
export const initProMocks = () => {
mocks.licenses.init(pro)
// use unlimited license by default
mocks.licenses.useUnlimited()
}