diff --git a/packages/core/src/SlideBox/Slide.tsx b/packages/core/src/SlideBox/Slide.tsx index 4c5fa75f3..ac4e46d52 100644 --- a/packages/core/src/SlideBox/Slide.tsx +++ b/packages/core/src/SlideBox/Slide.tsx @@ -30,7 +30,7 @@ export function Slide({ const ref = useRef() useEffect(() => { - /* istanbul ignore next */ + /* c8 ignore next */ if (isCurrentSlide === true && typeof slideBoxRef?.current?.scroll === 'function' && ref?.current) { const { offsetLeft, offsetParent, offsetWidth } = ref.current const { offsetWidth: parentOffset } = offsetParent || {}