Skip to content

test(xml): add unit tests for XML parser #20

test(xml): add unit tests for XML parser

test(xml): add unit tests for XML parser #20

Triggered via pull request January 20, 2025 20:00
Status Failure
Total duration 12s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
error: expect(received).toEqual(expected): src/xmlParser.spec.js#L113
[ + "Message 1" - "Message 1", - "Message 2", - "Message 3" ] - Expected - 3 + Received + 1 at <anonymous> (/home/runner/work/qdl.js/qdl.js/src/xmlParser.spec.js:113:22)
error: expect(received).toEqual(expected): src/xmlParser.spec.js#L128
[ + "Writing sector 0x1000" - "Writing sector 0x1000", - "CRC check passed" ] - Expected - 2 + Received + 1 at <anonymous> (/home/runner/work/qdl.js/qdl.js/src/xmlParser.spec.js:128:22)
error: expect(received).toEqual(expected): src/xmlParser.spec.js#L148
[ + "Operation in progress" - "Operation in progress", - "Step 1 complete" ] - Expected - 2 + Received + 1 at <anonymous> (/home/runner/work/qdl.js/qdl.js/src/xmlParser.spec.js:148:20)
error: expect(received).toEqual(expected): src/xmlParser.spec.js#L201
[ + "UFS Inquiry Command Output: Unipro" - "UFS Inquiry Command Output: Unipro", - "UFS Total Active LU: 0x3", - "UFS Boot Partition Enabled: 0x1", - "UFS Total Active LU: 0x3" ] - Expected - 4 + Received + 1 at <anonymous> (/home/runner/work/qdl.js/qdl.js/src/xmlParser.spec.js:201:20)
test
Process completed with exit code 1.
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636