Skip to content

Conversation

@SMAKSS
Copy link
Owner

@SMAKSS SMAKSS commented Feb 1, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 1, 2026 19:14
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades project dependencies and introduces comprehensive test coverage for the useDetectScroll hook. It includes dependency updates to Vite 7.3.1 and Vitest 2.1.9, along with a complete test suite.

Changes:

  • Added Vitest testing framework with coverage configuration
  • Renamed types.ts to useDetectScroll.types.ts and updated all import references
  • Upgraded Vite from 6.4.1 to 7.3.1 and related dependencies

Reviewed changes

Copilot reviewed 8 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
vitest.config.ts Adds Vitest configuration with V8 coverage provider and appropriate exclusions
src/useDetectScroll.test.ts Introduces comprehensive test suite covering scroll detection scenarios
src/useDetectScroll.ts Updates import path from ./types to ./useDetectScroll.types
src/index.ts Updates export path from ./types to ./useDetectScroll.types
package.json Adds testing dependencies and upgrades Vite to version 7.3.1
playground/package.json Upgrades Vite and React plugin dependencies
.vscode/settings.json Adds VSCode workspace configuration for ESLint and TypeScript
.prettierignore Adds coverage directory and pnpm-lock.yaml to ignored files

@SMAKSS SMAKSS merged commit fa7ae05 into master Feb 1, 2026
5 checks passed
@github-actions
Copy link

github-actions bot commented Feb 1, 2026

🎉 This PR is included in version 4.3.1 🎉

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.

2 participants