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

RobotWebTools / rclnodejs / 22839244476
86%

Build:
DEFAULT BRANCH: develop
Ran 09 Mar 2026 05:21AM UTC
Jobs 1
Files 50
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

09 Mar 2026 05:06AM UTC coverage: 85.961% (+0.05%) from 85.907%
22839244476

push

github

web-flow
Fix Node creation crash when using plain object as options (#1424)

When a plain object (e.g., `{ enableRosout: false }`) is passed as options instead of a `NodeOptions` instance, `options.parameterOverrides` is `undefined`, causing `TypeError: Cannot read properties of undefined (reading 'length')`.

Added `Node._normalizeOptions()` to merge plain objects with `NodeOptions.defaultOptions` defaults using nullish coalescing (`??`), ensuring all documented defaults are preserved for unspecified fields while respecting explicitly set values (including `false`).

**Files:**
- `lib/node.js` — added `static _normalizeOptions()`, called at the top of `_init()`
- `test/test-node.js` — added tests for node creation with plain object options and empty object options

Fix: #1423

1404 of 1770 branches covered (79.32%)

Branch coverage included in aggregate %.

5 of 5 new or added lines in 1 file covered. (100.0%)

2876 of 3209 relevant lines covered (89.62%)

460.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22839244476.1 09 Mar 2026 05:21AM UTC 50
85.96
GitHub Action Run
Source Files on build 22839244476
  • Tree
  • List 50
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #22839244476
  • 2c0ac64f on github
  • Prev Build on develop (#22838687130)
  • Next Build on develop (#22842312855)
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