Skip to content

chore: rfc-index.xml tests WIP #58

chore: rfc-index.xml tests WIP

chore: rfc-index.xml tests WIP #58

Triggered via push January 27, 2025 21:34
Status Failure
Total duration 43s
Artifacts

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors
utilities/rfc-index.xml.test.ts > renderRfcIndexDotXml > compare against original rendering: client/utilities/rfc-index.xml.test.ts#L204
AssertionError: expected { 'rfc-entry': [ { …(1) }, …(13) ] } to deeply equal { 'rfc-entry': [ { …(1) }, …(9) ] } - Expected + Received Object { "rfc-entry": Array [ Object { "doc-id": Array [ Object { - "#text": "RFC1", + "#text": "rfc1", }, ], }, Object { "title": Array [ Object { "#text": "Host Software", }, ], }, Object { "author": Array [ Object { "name": Array [ Object { - "#text": "S. Crocker", + "name": Array [ + Object { + "#text": "Steve Crocker", + }, + ], + }, + Object { + "person": Array [ + Object { + "#text": 0, + }, + ], }, ], }, ], }, Object { "date": Array [ Object { "month": Array [ Object { "#text": "April", }, ], }, Object { "year": Array [ Object { "#text": 1969, }, ], }, ], }, Object { "format": Array [ + Object { + "file-format": Array [ Object { + "#text": "HTML", + }, + ], + }, + Object { "file-format": Array [ Object { - "#text": "ASCII", + "#text": "TEXT", }, ], }, Object { "file-format": Array [ Object { - "#text": "HTML", + "#text": "PDF", + }, + ], + }, + Object { + "file-format": Array [ + Object { + "#text": "XML", }, ], }, ], }, Object { "page-count": Array [ Object { "#text": 11, + }, + ], + }, + Object { + "keywords": Array [], + }, + Object { + "abstract": Array [ + Object { + "p": Array [], + }, + ], + }, + Object { + "draft": Array [ + Object { + "#text": "draft-ietf-lamps-cms-cek-hkdf-sha256-05", }, ], }, Object { "current-status": Array [ Object { - "#text": "UNKNOWN", + "#text": "unknown", }, ], }, Object { "publication-status": Array [ Object { - "#text": "UNKNOWN", + "#text": "unknown", }, ], }, Object { "stream": Array [ Object { "#text": "Legacy", + }, + ], + }, + Object { + "wg_acronym": Array [ + Object { + "#text": "none", }, ], }, Object { "doi": Array [ Object { "#text": "10.17487/RFC0001", }, ], }, ], } ❯ utilities/rfc-index.xml.test.ts:204:27 ❯ utilities/rfc-index.xml.test.ts:192:16
build
Process completed with exit code 1.