Closed maier49 closed 7 years ago
Merging #81 into master will increase coverage by
0.04%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #81 +/- ##
=========================================
+ Coverage 98.46% 98.5% +0.04%
=========================================
Files 9 9
Lines 585 601 +16
Branches 158 164 +6
=========================================
+ Hits 576 592 +16
Misses 1 1
Partials 8 8
Impacted Files | Coverage Δ | |
---|---|---|
src/support/d.ts | 95.45% <ø> (ø) |
:arrow_up: |
src/support/compare.ts | 99.5% <100%> (ø) |
:arrow_up: |
src/support/assertRender.ts | 98.52% <100%> (+0.41%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update be0b18d...34836b8. Read the comment docs.
Type: feature
The following has been addressed in the PR:
Description: Uses
compareProperty
to create a custom diff forclasses
on the properties ofDNodes
that ensures only that the actual and expected classes contain equivalent sets of class names. In some cases the order of checks meant that we didn't actually use the custom diff when we should, specifically when the custom diff was on the expected object and the actual object property was an array or object. So this includes a fix for that and tests for it as well. Resolves #78