Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upgrade to Vitest 2 #690

Merged
merged 5 commits into from
Jul 11, 2024
Merged

feat: upgrade to Vitest 2 #690

merged 5 commits into from
Jul 11, 2024

Conversation

thebuilder
Copy link
Owner

@thebuilder thebuilder commented Jul 10, 2024

  • Types cleanup in test-utils, getting rid of @types/jest (replaced with vitest)
  • Move test mocking setup from beforeEach to beforeAll
  • Upgrade to Vitest 2
  • Add basic browser mode test, that runs with an unmocked IntersectionObserver

Copy link

stackblitz bot commented Jul 10, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

vercel bot commented Jul 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-intersection-observer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 11, 2024 7:35am

Copy link

pkg-pr-new bot commented Jul 10, 2024

commit: f72e455

react-intersection-observer

npm i https://pkg.pr.new/thebuilder/react-intersection-observer@690

@thebuilder thebuilder changed the title test: upgrade to Vitest 2, and add browser testing feat: upgrade to Vitest 2, and add browser testing Jul 11, 2024
@thebuilder thebuilder changed the title feat: upgrade to Vitest 2, and add browser testing feat: upgrade to Vitest 2 Jul 11, 2024
@thebuilder thebuilder merged commit 054adf4 into main Jul 11, 2024
17 checks passed
@thebuilder thebuilder deleted the feat/vitest-2 branch July 11, 2024 08:12
@thebuilder
Copy link
Owner Author

🎉 This issue has been resolved in version 9.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant