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

avajs / ava / 3212
97%
master: 42%

Build:
Build:
LAST BUILD BRANCH: magic-assert
DEFAULT BRANCH: master
Ran 26 Mar 2017 06:11PM 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
3212

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.

966 of 1038 branches covered (93.06%)

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

2056 of 2122 relevant lines covered (96.89%)

194.84 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/serialize-error.js
1
100.0
lib/test-collection.js
1
100.0
lib/reporters/verbose.js
2
100.0
lib/test-worker.js
2
100.0
lib/test.js
2
100.0
lib/reporters/mini.js
Jobs
ID Job ID Ran Files Coverage
1 3212.1 26 Mar 2017 06:12PM UTC 0
96.89
Travis Job 3212.1
2 3212.2 26 Mar 2017 06:11PM UTC 0
96.89
Travis Job 3212.2
3 3212.3 26 Mar 2017 06:14PM UTC 0
96.89
Travis Job 3212.3
Source Files on build 3212
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3212
  • ac73897b on github
  • Prev Build on make-snapshot-work (#3196)
  • Next Build on make-snapshot-work (#3217)
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