Skip to content

feat: add configurable void element endings #46

feat: add configurable void element endings

feat: add configurable void element endings #46

Triggered via pull request October 28, 2024 01:18
Status Failure
Total duration 28s
Artifacts

node.js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
tests/unit/src/formatMarkup.test.js > Format markup > Void elements > Formats void elements using mode "html": tests/unit/src/formatMarkup.test.js#L267
AssertionError: expected '<input>\n<input type="range"><input t…' to deeply equal '<input>\n<input type="range">\n<input…' - Expected + Received <input> - <input type="range"> - <input - type="range" - max="50" - > + <input type="range"><input type="range" max="50"> ❯ tests/unit/src/formatMarkup.test.js:267:10
tests/unit/src/formatMarkup.test.js > Format markup > Void elements > Formats void elements using mode "xhtml": tests/unit/src/formatMarkup.test.js#L267
AssertionError: expected '<input>\n<input type="range"><input t…' to deeply equal '<input />\n<input type="range" />\n<i…' - Expected + Received - <input /> + <input> - <input type="range" /> - <input - type="range" - max="50" - /> + <input type="range"><input type="range" max="50"> ❯ tests/unit/src/formatMarkup.test.js:267:10
tests/unit/src/formatMarkup.test.js > Format markup > Void elements > Formats void elements using mode "closingTag": tests/unit/src/formatMarkup.test.js#L267
AssertionError: expected '<input>\n<input type="range"><input t…' to deeply equal '<input></input>\n<input type="range">…' - Expected + Received - <input></input> + <input> - <input type="range"></input> - <input - type="range" - max="50" - ></input> + <input type="range"><input type="range" max="50"> ❯ tests/unit/src/formatMarkup.test.js:267:10
build
Process completed with exit code 1.