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

bare-ts / bare / 12507833998
94%

Build:
DEFAULT BRANCH: main
Ran 26 Dec 2024 07:57PM 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

26 Dec 2024 07:58PM UTC coverage: 81.857% (-11.3%) from 93.122%
12507833998

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 12507833998.1 26 Dec 2024 07:57PM UTC 0
81.86
GitHub Action Run
Source Files on build 12507833998
Detailed source file information is not available for this build.
  • Back to Repo
  • 29b89d5e on github
  • Prev Build on main (#12507036464)
  • Next Build on main (#12964475517)
  • 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