Skip to content

Conversation

@E66Crisp
Copy link

Description

In it('can specify different root'), read rootBounds from the same (second) callback entry as the isIntersecting check (mock.calls[1][0][0]), ensuring both assertions refer to the same invocation and avoiding mixing data across calls.

…e callback entry in useIntersectionObserver test
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Dec 11, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 12, 2025

Open in StackBlitz

@vueuse/components

npm i https://pkg.pr.new/@vueuse/components@5210

@vueuse/core

npm i https://pkg.pr.new/@vueuse/core@5210

@vueuse/electron

npm i https://pkg.pr.new/@vueuse/electron@5210

@vueuse/firebase

npm i https://pkg.pr.new/@vueuse/firebase@5210

@vueuse/integrations

npm i https://pkg.pr.new/@vueuse/integrations@5210

@vueuse/math

npm i https://pkg.pr.new/@vueuse/math@5210

@vueuse/metadata

npm i https://pkg.pr.new/@vueuse/metadata@5210

@vueuse/nuxt

npm i https://pkg.pr.new/@vueuse/nuxt@5210

@vueuse/router

npm i https://pkg.pr.new/@vueuse/router@5210

@vueuse/rxjs

npm i https://pkg.pr.new/@vueuse/rxjs@5210

@vueuse/shared

npm i https://pkg.pr.new/@vueuse/shared@5210

commit: 054b4b6

@codecov
Copy link

codecov bot commented Dec 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.36%. Comparing base (53abedf) to head (054b4b6).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5210   +/-   ##
=======================================
  Coverage   64.36%   64.36%           
=======================================
  Files         343      343           
  Lines        6586     6586           
  Branches     2001     2013   +12     
=======================================
  Hits         4239     4239           
  Misses       1946     1946           
  Partials      401      401           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@coderwhytop

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants