Closed threequartersjohn closed 4 years ago
This pull request is being automatically deployed with ZEIT Now (learn more). To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://zeit.co/moxystudio/next-with-moxy/72804yehr ✅ Preview: https://next-with-moxy-git-fix-render-with-intl-test.moxystudio.now.sh
Looks good.
Merging #54 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #54 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 6 6
Lines 32 32
Branches 5 5
=====================================
Hits 32 32
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 997d600...6544bcf. Read the comment docs.
Fixes
rerenderWithIntl
test. Missed this during code review, so here's the PR with the fix.As it was, this test was not testing whether
rerenderWithIntl
was wrapping theintl
provider, because no child would require it.With a
FormattedMessage
child, this test now actually tests ifrerenderWithIntl
wraps its children with the necessary provider and does not throw any errors.