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

metalsmith / layouts / 22830365429 / 1
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 08 Mar 2026 09:34PM UTC
Files 2
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

08 Mar 2026 09:33PM UTC coverage: 91.265% (+0.3%) from 90.991%
22830365429.1

push

github

webketje
fix `assert.rejects` usage in tests

`assert.rejects` needs to be awaited inside of the async test body
if it is not the test is effectively ignored since any exceptions are
thrown after the test function completes

other changes:
- `transform` option is required by plugin
- wrapping a Promise returned by `Metalsmith` invocation is not
  necessary: `assert.rejects` takes a Promise as first argument

see:
https://nodejs.org/api/assert.html#assertrejectsasyncfn-error-message

34 of 43 branches covered (79.07%)

Branch coverage included in aggregate %.

269 of 289 relevant lines covered (93.08%)

10.37 hits per line

Source Files on job 22830365429.1
  • Tree
  • List 2
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 22830365429
  • 03d9ce9a on github
  • Prev Job for on master (#13778132325.1)
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