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

sovrin / unitas
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: sovrin/offset-errors
DEFAULT BRANCH: master
Repo Added 22 Mar 2026 10:54AM UTC
Files 131
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

LAST BUILD ON BRANCH sovrin/offset-errors
branch: sovrin/offset-errors
CHANGE BRANCH
x
Reset
  • sovrin/offset-errors
  • master
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v0.2.0
  • refs/tags/v0.2.1
  • refs/tags/v0.2.2
  • refs/tags/v0.2.3
  • refs/tags/v0.2.4
  • refs/tags/v0.2.5
  • sovrin/readme-npm-layout

19 Sep 2026 09:12AM UTC coverage: 100.0%. Remained the same
35434068498

Pull #2

github

sovrin
test(core): cover the error-reporting paths

Coveralls was failing the PR: the new error machinery had no tests of
its own, and it was reached only incidentally by tests aimed at other
things. `format`, `parse` and the two branches in `diagnose` that pick
the context over the result — the ones that make an error point at the
furthest offset rather than where parsing stopped — were the gaps that
mattered, since that behaviour is the reason the release exists.

Adds `format.test.ts` and `parse.test.ts`, and covers the left-recursion
guard in `grammar`, the committed branch of `label` that keeps the inner
error, and `take`'s singular/plural wording.

Also drops an unreachable fallback in `format`: `line - 1` is the number
of newlines before the offset and `split('\n')` always yields one more
entry than that, so the index is never out of range.

Statements, branches, functions and lines are all at 100%.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Pull Request #2: feat!: parse by offset and report where a failure happened

332 of 332 branches covered (100.0%)

Branch coverage included in aggregate %.

460 of 460 new or added lines in 88 files covered. (100.0%)

749 of 749 relevant lines covered (100.0%)

35.78 hits per line

Relevant lines Covered
Build:
Build:
749 RELEVANT LINES 749 COVERED LINES
35.78 HITS PER LINE
Source Files on sovrin/offset-errors
  • Tree
  • List 131
  • Changed 79
  • Source Changed 0
  • Coverage Changed 79
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
35434068498 sovrin/offset-errors test(core): cover the error-reporting paths Coveralls was failing the PR: the new error machinery had no tests of its own, and it was reached only incidentally by tests aimed at other things. `format`, `parse` and the two branches in `diagnose` t... Pull #2 19 Sep 2026 09:13AM UTC sovrin github
100.0
35433759951 sovrin/offset-errors docs: bring CLAUDE.md up to date with the context model The core types block still described the pre-0.3.0 shape — a parser taking a sliced suffix and a failure carrying an optional message — so it contradicted the code it is meant to explain. It... Pull #2 19 Sep 2026 09:06AM UTC sovrin github
98.71
See All Builds (58)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc