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

avajs / ava / 3187
96%
master: 42%

Build:
Build:
LAST BUILD BRANCH: magic-assert
DEFAULT BRANCH: master
Ran 21 Mar 2017 04:58PM UTC
Jobs 3
Files 0
Run time 3s
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
3187

Pull #1317

travis-ci

web-flow
Make snapshots usable again

* Make the Runner manage the snapshot state. Thread an accessor to the
`t.snapshot()` assertion.

* Save snapshots when runner has finished. Fixes #1218.

* Use jest-snapshot directly, without serializing values. Use jest-diff
to generate the diff if the snapshot doesn't match. This does mean the
output is not colored and has other subtle differences with how other
assertions format values, but that's OK for now. Fixes #1220, #1254.

* Pin jest-snapshot and jest-diff versions. This isn't ideal but we're
using private APIs and making other assumptions, so I'm not comfortable
with using a loose SemVer range.
Pull Request #1317: Make snapshots usable again

930 of 1001 branches covered (92.91%)

68 of 68 new or added lines in 5 files covered. (100.0%)

2004 of 2069 relevant lines covered (96.86%)

189.67 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
lib/runner.js
Jobs
ID Job ID Ran Files Coverage
1 3187.1 21 Mar 2017 04:58PM UTC 0
96.86
Travis Job 3187.1
2 3187.2 21 Mar 2017 04:58PM UTC 0
96.86
Travis Job 3187.2
3 3187.3 21 Mar 2017 04:59PM UTC 0
96.86
Travis Job 3187.3
Source Files on build 3187
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3187
  • Pull Request #1317
  • PR Base - test-overhaul (#3185)
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