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

mweststrate / immer / 681
99%

Build:
DEFAULT BRANCH: master
Ran 28 Dec 2018 09:03PM UTC
Jobs 1
Files 6
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

pending completion
681

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

Jobs
ID Job ID Ran Files Coverage
3 681.3 (NODE_ENV=TEST) 28 Dec 2018 09:03PM UTC 0
97.3
Travis Job 681.3
Source Files on build 681
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #681
  • ddc9b40d on github
  • Prev Build on master (#680)
  • Next Build on master (#694)
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