Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default function mount(children, value) {
if (value === undefined) return enzyme(children);
return enzyme(children, {
wrappingComponent: context.Provider,
wrappingComponentProps: { value: value.context },
});
}
export default function mount(children, value) {
if (value === undefined) return enzyme(children);
return enzyme(children, {
wrappingComponent: context.Provider,
wrappingComponentProps: { value: value.context },
});
}
export default function mount(children, value) {
if (value === undefined) return enzyme(children);
return enzyme(children, {
wrappingComponent: context.Provider,
wrappingComponentProps: { value: value.context },
});
}
export default function mount(children, value) {
if (value === undefined) return enzyme(children);
return enzyme(children, {
wrappingComponent: context.Provider,
wrappingComponentProps: { value: value.context },
});
}
export default function mount(children, value) {
if (value === undefined) return enzyme(children);
return enzyme(children, {
wrappingComponent: context.Provider,
wrappingComponentProps: { value: value.context },
});
}
export default function mount(children, value) {
if (value === undefined) return enzyme(children);
return enzyme(children, {
wrappingComponent: context.Provider,
wrappingComponentProps: { value: value.context },
});
}
export default function mount(children, value) {
if (value === undefined) return enzyme(children);
return enzyme(children, {
wrappingComponent: context.Provider,
wrappingComponentProps: { value: value.context },
});
}