feat: test with single raw values #33
Annotations
4 errors and 2 warnings
gateway/MQTTClient.test.ts > MQTTClient > should handle single raw values:
gateway/MQTTClient.test.ts#L89
AssertionError: expected { '/topic1': { test: 42 }, …(1) } to deeply equal { Object (vzlogger/data/chn0/raw) }
- Expected
+ Received
Object {
+ "/topic1": Object {
+ "test": 42,
+ },
"vzlogger/data/chn0/raw": Object {
"": 42,
},
}
❯ gateway/MQTTClient.test.ts:89:21
|
unit-tests
Process completed with exit code 1.
|
unit-tests
Failed to parse the json-summary at path "/home/runner/work/mqtt-prometheus-gateway/mqtt-prometheus-gateway/coverage/coverage-summary.json."
Make sure to run vitest before this action and to include the "json-summary" reporter.
Original Error:
Error: ENOENT: no such file or directory, open '/home/runner/work/mqtt-prometheus-gateway/mqtt-prometheus-gateway/coverage/coverage-summary.json'
at async open (node:internal/fs/promises:639:25)
at async readFile (node:internal/fs/promises:1242:14)
at async Iy (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:71:797)
at async mu (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:71:878)
at async uq (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:149:626)
|
unit-tests
Error: ENOENT: no such file or directory, open '/home/runner/work/mqtt-prometheus-gateway/mqtt-prometheus-gateway/coverage/coverage-summary.json'
|
setup
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
unit-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|