Skip to content

Commit

Permalink
feat(HTL-110511): Change istanbul to c8 to improve coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
coolestKev committed Nov 6, 2024
1 parent 45f92bc commit 63ae7e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/SlideBox/Slide.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 || {}
Expand Down

0 comments on commit 63ae7e5

Please sign in to comment.