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

metalsmith / layouts / 22830365429
91%

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

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

Uncovered Existing Lines

Lines Coverage ∆ File
3
92.19
0.36% src/index.js
Jobs
ID Job ID Ran Files Coverage
1 22830365429.1 08 Mar 2026 09:34PM UTC 2
91.27
GitHub Action Run
Source Files on build 22830365429
  • 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 Repo
  • Github Actions Build #22830365429
  • 03d9ce9a on github
  • Prev Build on master (#13778132325)
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