Skip to content

Update Param.js to intuitively request JSON data #1969

Update Param.js to intuitively request JSON data

Update Param.js to intuitively request JSON data #1969

Re-run triggered February 21, 2025 06:10
Status Failure
Total duration 2m 0s
Artifacts

main.yml

on: pull_request
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Unhandled error: test/examples/params.examples.js#L24
AssertionError: expected null to equal 'foo' - Expected: "foo" + Received: null ❯ test/examples/params.examples.js:24:34 ❯ src/core/Param.js:49:9 ❯ Ros.<anonymous> src/core/Service.js:66:11 ❯ Ros.emit node_modules/eventemitter3/index.js:181:35 ❯ handleMessage src/core/SocketAdapter.js:37:14 ❯ handlePng src/core/SocketAdapter.js:67:7 ❯ WebSocket.onMessage src/core/SocketAdapter.js:139:9 ❯ callListener node_modules/ws/lib/event-target.js:290:14 ❯ WebSocket.onMessage node_modules/ws/lib/event-target.js:209:9 ❯ WebSocket.emit node:events:518:28 This error originated in "test/examples/params.examples.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "Param.get". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
noetic (node 20)
Process completed with exit code 1.
Unhandled error: test/examples/params.examples.js#L24
AssertionError: expected null to equal 'foo' - Expected: "foo" + Received: null ❯ test/examples/params.examples.js:24:34 ❯ src/core/Param.js:49:9 ❯ Ros.<anonymous> src/core/Service.js:66:11 ❯ Ros.emit node_modules/eventemitter3/index.js:181:35 ❯ handleMessage src/core/SocketAdapter.js:37:14 ❯ handlePng src/core/SocketAdapter.js:67:7 ❯ WebSocket.onMessage src/core/SocketAdapter.js:139:9 ❯ callListener node_modules/ws/lib/event-target.js:290:14 ❯ WebSocket.onMessage node_modules/ws/lib/event-target.js:209:9 ❯ WebSocket.emit node:events:517:28 This error originated in "test/examples/params.examples.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "Param.get". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
noetic (node 18)
Process completed with exit code 1.