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

bare-ts / bare / 12968397172 / 1
94%
main: 94%

Build:
DEFAULT BRANCH: main
Ran 25 Jan 2025 09:03PM UTC
Files 15
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

25 Jan 2025 09:05PM UTC coverage: 94.038% (+12.2%) from 81.857%
12968397172.1

push

github

Conaclos
refactor: directly execute tests with NodeJS

NodeJS introduced experimental flags to run TypeScript.
This change uses this capability.
This allows bypassing the build step for running tests.

We have to change all imports of TypeScript files to use the `.ts` extension.
Unfortuantely ESbuild is not able to rewrite the extensions.
Fortunately, TSC 5.7 is capable of rewritting extensions.
Thus this change switches to TSC for transpiling the sources.
We still keep ESbuild for bundling CJS and the standalone executable.

I took the opprotunity of replacing all tsconfigs with a global one.
This allows easy referencing from test files to source files without
involving TypeScript project references.
Note that safety is preserved because we still use dedicated tsconfigs
for building destination files:

- `src/tsconfig.json`
- `src/tsconfig.bin.json`

This allows expressing restrictions.
For instance our source files don't depend on NodeJS, while our test files do.

882 of 971 branches covered (90.83%)

Branch coverage included in aggregate %.

3440 of 3625 relevant lines covered (94.9%)

271.33 hits per line

Source Files on job 12968397172.1
  • Tree
  • List 15
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 12968397172
  • 498306d2 on github
  • Prev Job for on main (#12968379556.1)
  • Next Job for on main (#12968420883.1)
  • Delete
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