-
Notifications
You must be signed in to change notification settings - Fork 66
test : coverage improvement #171
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
Conversation
🦋 Changeset detectedLatest commit: 3ca8dcd The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #171 +/- ##
==========================================
+ Coverage 93.68% 99.85% +6.16%
==========================================
Files 12 15 +3
Lines 364 1337 +973
Branches 88 260 +172
==========================================
+ Hits 341 1335 +994
+ Misses 22 2 -20
+ Partials 1 0 -1
🚀 New features to boost your workflow:
|
|
@jungpaeng is attempting to deploy a commit to the Toss Team on Vercel. A member of the Team first needs to authorize it. |
|
Hi! I'm the It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃 |
a61eb94 to
8f582ab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Description
This change aims to improve the test coverage of the project. To enhance the stability and maintainability of the codebase, test codes have been added and improved for areas that previously lacked sufficient testing.
Changes
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Before
After
Types of changes
Checklist
Further Comments
I've been working on improving the test coverage for our recent project. While we've made significant progress overall, I'm encountering some difficulties in writing tests for specific parts of a few files and would appreciate your guidance.
I'm particularly struggling to increase coverage for the following files:
src/context/reducer.ts
Current Status
Detailed Issues
Attempts to Resolve
src/utils/create-use-external-events.ts
Current Status
Detailed Issues
Attempts to Resolve
I would be grateful for any advice or alternative approaches you might have for effectively increasing test coverage for these problematic areas. Guidance on testing strategies for complex conditional logic or code that depends on specific DOM states would be particularly helpful.