test: improve code coverage with additional test cases#223
test: improve code coverage with additional test cases#223alexander-akait merged 2 commits intomainfrom
Conversation
Increase branch coverage from 89.05% to 96.11% by covering: - Hook abstract compile, invalid tap options, withOptions wrapper methods, interceptor register returning undefined, unnamed object taps - HookMap lazy construction, interceptor factories, deprecated tap helpers - util-browser deprecate helper - SyncLoopHook tapAsync/tapPromise errors and looping behavior - Default args construction for every hook class
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #223 +/- ##
==========================================
+ Coverage 97.96% 99.44% +1.48%
==========================================
Files 13 15 +2
Lines 689 726 +37
Branches 112 115 +3
==========================================
+ Hits 675 722 +47
+ Misses 13 4 -9
+ Partials 1 0 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Increase branch coverage from 89.05% to 96.11% by covering:
Summary
more tests
What kind of change does this PR introduce?
test
Did you add tests for your changes?
Does this PR introduce a breaking change?
No
If relevant, what needs to be documented once your changes are merged or what have you already documented?
Nothing
Use of AI
Yes, to generate them a lot