Allow mocking multiple features
This commit is contained in:
parent
fb1bfbdae8
commit
8e77365c19
|
@ -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],
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue