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

mobxjs / mobx-react-lite / 417
95%

Build:
DEFAULT BRANCH: master
Ran 03 Apr 2019 01:35PM UTC
Jobs 1
Files 12
Run time 2s
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

pending completion
417

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 %.

8 of 8 new or added lines in 2 files covered. (100.0%)

120 of 121 relevant lines covered (99.17%)

28.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 417.1 03 Apr 2019 01:35PM UTC 0
99.3
Travis Job 417.1
Source Files on build 417
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #417
  • bf3a6c9b on github
  • Prev Build on master (#412)
  • Next Build on master (#420)
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