• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mobxjs / mobx-react-lite / 417 / 1
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 03 Apr 2019 01:35PM UTC
Files 12
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Apr 2019 01:34PM UTC coverage: 99.301% (-0.005%) from 99.306%
417.1

push

travis-ci

FredyC
Make StrictMode happy (#119)

* Add test for proper reaction disposal in StrictMode

* Use jest-mock-console instead of mocking console.error by hand

* Move test into separate useObserver test file

I've tweaked the test name to reflect what it's really checking for.

* Add a second test to verify that reactions are disposed after unmount

N.B. Depending on the implementation of a fix, this test might need some
extra delays or act() calls to trigger a delayed cleanup before asserting that
all is clean.

* Remove 'leak' test as it's a separately-solvable issue.

(I'll move this test into another PR.)

* Track whether the current component has been committed before forcing update

* Remove the now-unused useUnmount

22 of 22 branches covered (100.0%)

Branch coverage included in aggregate %.

120 of 121 relevant lines covered (99.17%)

28.68 hits per line

Source Files on job 417.1
  • Tree
  • List 0
  • Changed 11
  • Source Changed 2
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 261
  • Travis Job 417.1
  • bf3a6c9b on github
  • Prev Job for on master (#412.1)
  • Next Job for on master (#420.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc