addons/measure/src/withMeasure.ts
Function withMeasure
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const withMeasure = (
StoryFn: StoryFunction<AnyFramework>,
context: StoryContext<AnyFramework>
) => {
const { measureEnabled } = context.globals;