Update Param.js to intuitively request JSON data #847
Annotations
2 errors
Tests:
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.
|
Tests
Process completed with exit code 1.
|
Loading