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

avajs / ava / 3196
97%
master: 42%

Build:
Build:
LAST BUILD BRANCH: magic-assert
DEFAULT BRANCH: master
Ran 23 Mar 2017 03:45PM 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
3196

push

travis-ci

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

930 of 1002 branches covered (92.81%)

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

2000 of 2065 relevant lines covered (96.85%)

190.89 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
lib/runner.js

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
lib/main.js
1
100.0
lib/runner.js
1
100.0
lib/test-collection.js
1
100.0
lib/test.js
Jobs
ID Job ID Ran Files Coverage
1 3196.1 23 Mar 2017 03:45PM UTC 0
96.85
Travis Job 3196.1
2 3196.2 23 Mar 2017 03:46PM UTC 0
96.85
Travis Job 3196.2
3 3196.3 23 Mar 2017 03:46PM UTC 0
96.85
Travis Job 3196.3
Source Files on build 3196
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3196
  • b21d2a38 on github
  • Prev Build on make-snapshot-work (#3186)
  • Next Build on make-snapshot-work (#3212)
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

© 2025 Coveralls, Inc