hookable
hookable copied to clipboard
feat: add `beforeHook` and `afterHook` spies
related: https://github.com/unjs/hookable/issues/37
Codecov Report
Merging #46 (1cfc065) into main (5a46409) will increase coverage by
1.19%. The diff coverage is95.23%.
:exclamation: Current head 1cfc065 differs from pull request most recent head 4797ce8. Consider uploading reports for the commit 4797ce8 to get more accurate results
@@ Coverage Diff @@
## main #46 +/- ##
==========================================
+ Coverage 96.91% 98.11% +1.19%
==========================================
Files 4 4
Lines 227 265 +38
Branches 51 64 +13
==========================================
+ Hits 220 260 +40
+ Misses 7 5 -2
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/hookable.ts | 98.23% <94.44%> (+0.40%) |
:arrow_up: |
| src/utils.ts | 96.61% <100.00%> (+4.15%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.