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

bare-ts / bare / 12968379556
94%

Build:
DEFAULT BRANCH: main
Ran 25 Jan 2025 09:01PM 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

25 Jan 2025 09:03PM UTC coverage: 81.857%. Remained the same
12968379556

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.

51 of 78 branches covered (65.38%)

Branch coverage included in aggregate %.

337 of 396 relevant lines covered (85.1%)

1.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12968379556.1 25 Jan 2025 09:01PM UTC 2
81.86
GitHub Action Run
Source Files on build 12968379556
  • Tree
  • List 2
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 3cfc63cd on github
  • Prev Build on main (#12968365143)
  • Next Build on main (#12968397172)
  • 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