Repository navigation
Conversation
Codecov Report❌ Patch coverage is ❌ Your patch check has failed because the patch coverage (88.44%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## feat/v5-diagnostic-policy #1176 +/- ##
=============================================================
+ Coverage 94.06% 94.23% +0.17%
=============================================================
Files 34 33 -1
Lines 926 920 -6
Branches 174 192 +18
=============================================================
- Hits 871 867 -4
+ Misses 24 19 -5
- Partials 31 34 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
BREAKING CHANGE: DI adapters must return an InspectionResult from inspect(). Undefined explicit tokens now use ER31. Unit rejects unresolved dependencies in real constructors and preserves the declaring slot and framework cause.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move DI inspection failures across the adapter boundary as data. Unit can then identify the root and injection site, preserve the original cause, and distinguish an undefined dependency (ER30) from an undefined token (ER31). Third-party v5 DI adapters must return the new result.
The first Jest consumer cases preserve the regressions from #1147. Related to #1064.