Allow mocking multiple features

This commit is contained in:
Adria Navarro 2024-02-22 13:55:38 +01:00
parent fb1bfbdae8
commit 8e77365c19
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ export const useCloudFree = () => {
// FEATURES
const useFeature = (feature: Feature) => {
const license = cloneDeep(UNLIMITED_LICENSE)
const license = cloneDeep(getCachedLicense() || UNLIMITED_LICENSE)
const opts: UseLicenseOpts = {
features: [feature],
}