1
0
Fork 0
mirror of synced 2024-10-02 18:16:29 +13:00

Allow mocking multiple features

This commit is contained in:
Adria Navarro 2024-02-22 13:55:38 +01:00
parent fb1bfbdae8
commit 8e77365c19

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],
}