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

comunica / traqula / 27701555098
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: renovate/node-24.x
DEFAULT BRANCH: main
Ran 17 Jun 2026 03:49PM UTC
Jobs 9
Files 127
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

17 Jun 2026 03:24PM UTC coverage: 100.0%. Remained the same
27701555098

Pull #149

github

jitsedesmet
fix(test-utils): tighten CJS guard, fix sideEffects, drop stale eslint ignore

- Remove dead 'packages/test-utils/scripts/**' ignore from eslint.config.js;
  the scripts/ directory belonged to an abandoned post-build-script approach
  and no longer exists on the branch.

- Add a second case to cjs.test.ts that require()s the actual compiled
  dist/cjs/lib/indexCjs.js (the real CJS entry point, not just utils.js).
  Loading the full entry point triggers vitest's own CJS-import guard because
  indexCjs.js re-exports matchers/vitest.js.  The test therefore asserts that
  the error is specifically vitest's guard error (a plain Error with a
  recognisable message) rather than a SyntaxError from leftover import.meta.url
  in the compiled output — proving the CJS build itself is syntactically valid.

- Change "sideEffects": false → "sideEffects": ["**/index.js", "**/indexCjs.js"]
  in packages/test-utils/package.json.  Both entry points call _initStaticsRoot
  at module-eval time, which is a real side effect; leaving the field as false
  would allow a tree-shaker to drop the init and trigger the "called before
  init" throw at runtime.

- Expand the _initStaticsRoot JSDoc in utils.ts with a design-note paragraph
  explaining why eager-init-with-anchored-walk-up was chosen over a fully-lazy
  alternative, and pointing to the sideEffects tension as the place to raise
  any future architectural discussion.

Note: the depcheck step of the pre-commit hook fails on '@comunica/config-query-sparql-next'
and '@comunica/utils-algebra-next', which are packages from the outer comunica workspace that
lerna mistakenly discovers when run in the nested traqula workspace setup.  This failure is
pre-existing on the branch (reproducible with no changes) and is unrelated to this commit.
The traqula packages themselves all pass depcheck individually.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Pull Request #149: Fix/reuse test utils

759 of 759 branches covered (100.0%)

Branch coverage included in aggregate %.

18 of 18 new or added lines in 3 files covered. (100.0%)

5474 of 5474 relevant lines covered (100.0%)

282861.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-24.x-macos-latest - 27701555098.1 17 Jun 2026 03:49PM UTC 127
100.0
GitHub Action Run
2 run-22.x-windows-latest - 27701555098.2 17 Jun 2026 03:51PM UTC 127
100.0
GitHub Action Run
3 run-22.x-macos-latest - 27701555098.3 17 Jun 2026 03:53PM UTC 127
100.0
GitHub Action Run
4 run-20.x-ubuntu-latest - 27701555098.4 17 Jun 2026 03:50PM UTC 127
100.0
GitHub Action Run
5 run-24.x-windows-latest - 27701555098.5 17 Jun 2026 03:52PM UTC 127
100.0
GitHub Action Run
6 run-22.x-ubuntu-latest - 27701555098.6 17 Jun 2026 03:50PM UTC 127
100.0
GitHub Action Run
7 run-20.x-windows-latest - 27701555098.7 17 Jun 2026 03:51PM UTC 127
100.0
GitHub Action Run
8 run-20.x-macos-latest - 27701555098.8 17 Jun 2026 03:50PM UTC 127
100.0
GitHub Action Run
9 run-24.x-ubuntu-latest - 27701555098.9 17 Jun 2026 03:50PM UTC 127
100.0
GitHub Action Run
Source Files on build 27701555098
  • Tree
  • List 127
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27701555098
  • Pull Request #149
  • PR Base - main (#27533072714)
  • 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