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

PeculiarVentures / x509 / 40364014695
91%

Build:
DEFAULT BRANCH: master
Ran 26 Oct 2026 04:57PM UTC
Jobs 1
Files 44
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

26 Oct 2026 04:57PM UTC coverage: 89.586%. Remained the same
40364014695

push

github

web-flow
test: colocate tests as src/**/*.spec.ts (#157)

* test: colocate tests as src/**/*.spec.ts

Move the specs from test/ next to the modules they cover. test/crypto.ts
held one describe("crypto") block per class; each block moves to that
class's spec inside its own describe("crypto") wrapper with the same
WebCrypto provider setup, so the test names stay the same. The issue
regressions (test/issues.ts and the crypto "issues" block) go to
src/index.spec.ts, and the berOptions specs that span every parser stay
together in src/parse_options.spec.ts.

Only imports change, apart from the two generator specs, which named
their describe after the file (path.basename(__filename)) and now use
the class name. 322 tests before and after.

vitest.config.ts is the pvtsutils copy plus the setup file (Reflect
polyfill for tsyringe) and the 10 s timeout from the old config. Update
vitest to 5.0.5. The rollup output is unchanged.

* test: set the @peculiar/webcrypto provider once in the vitest setup

vitest.setup.ts registers one @peculiar/webcrypto instance as the
default provider; the specs read it with cryptoProvider.get() instead
of each creating their own and calling cryptoProvider.set(). It stays
the provider because three specs cover algorithms only it implements
(brainpoolP256r1, K-256, Ed448/X448 as "EdDSA"/"ECDH-ES").

The issue specs that run on node:crypto keep it, and the PublicKey spec
for an explicit provider argument passes Node's built-in WebCrypto.

799 of 961 branches covered (83.14%)

Branch coverage included in aggregate %.

1644 of 1766 relevant lines covered (93.09%)

712.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40364014695.1 26 Oct 2026 04:57PM UTC 44
89.59
GitHub Action Run
Source Files on build 40364014695
  • Tree
  • List 44
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40364014695
  • 9338b530 on github
  • Prev Build on master (#40352305561)
  • Next Build on master (#40365970693)
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