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

mweststrate / immer / 681 / 3
99%
master: 99%

Build:
DEFAULT BRANCH: master
Ran 28 Dec 2018 09:03PM UTC
Files 6
Run time 0s
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

28 Dec 2018 09:00PM UTC coverage: 97.302%. Remained the same
NODE_ENV=TEST

push

travis-ci

aleclarson
test: improve tests with Immer class

Using global state in unit tests is usually a bad idea, which the Immer class lets us avoid.

Also, we can monkey-patch the `produce` function in order to transparently append the patch listener to the argument list of all `produce` calls.
This makes the tests easier to read, since we can avoid an extra level of indentation added by Prettier.

288 of 300 branches covered (96.0%)

Branch coverage included in aggregate %.

289 of 293 relevant lines covered (98.63%)

494.98 hits per line

Source Files on job 681.3 (NODE_ENV=TEST)
  • Tree
  • List 0
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 536
  • Travis Job 681.3
  • ddc9b40d on github
  • Prev Job for NODE_ENV=TEST on master (#680.3)
  • Next Job for NODE_ENV=TEST on master (#694.3)
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