Skip to content

hotfix: AlignmentType Justified typo #3154

hotfix: AlignmentType Justified typo

hotfix: AlignmentType Justified typo #3154

Re-run triggered January 17, 2025 00:47
Status Failure
Total duration 1m 30s
Artifacts

default.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 6 warnings
src/file/numbering/abstract-numbering.spec.ts > AbstractNumbering > #createLevel > formatting methods: paragraph properties > #justified: src/file/numbering/abstract-numbering.spec.ts#L654
AssertionError: expected { 'w:abstractNum': [ { …(1) }, …(2) ] } to deeply equal { 'w:abstractNum': [ { …(1) }, …(2) ] } - Expected + Received Object { "w:abstractNum": Array [ Object { "_attr": Object { "w15:restartNumberingAfterBreak": 0, "w:abstractNumId": 1, }, }, Object { "w:multiLevelType": Object { "_attr": Object { "w:val": "hybridMultilevel", }, }, }, Object { "w:lvl": Array [ Object { "w:start": Object { "_attr": Object { "w:val": 1, }, }, }, Object { "w:numFmt": Object { "_attr": Object { "w:val": "lowerRoman", }, }, }, Object { "w:lvlText": Object { "_attr": Object { "w:val": "%0.", }, }, }, Object { "w:lvlJc": Object { "_attr": Object { "w:val": "start", }, }, }, Object { "w:pPr": Array [ Object { "w:jc": Object { "_attr": Object { - "w:val": "both", + "w:val": "justified", }, }, }, ], }, Object { "_attr": Object { "w15:tentative": 1, "w:ilvl": 0, }, }, ], }, ], } ❯ src/file/numbering/abstract-numbering.spec.ts:654:38
src/file/paragraph/paragraph.spec.ts > Paragraph > #justified() > should add justified alignment to JSON: src/file/paragraph/paragraph.spec.ts#L263
AssertionError: expected { Object (w:p) } to deeply equal { Object (w:p) } - Expected + Received Object { "w:p": Array [ Object { "w:pPr": Array [ Object { "w:jc": Object { "_attr": Object { - "w:val": "both", + "w:val": "justified", }, }, }, ], }, ], } ❯ src/file/paragraph/paragraph.spec.ts:263:34
src/file/styles/style/paragraph-style.spec.ts > ParagraphStyle > formatting methods: paragraph properties > #justified: src/file/styles/style/paragraph-style.spec.ts#L189
AssertionError: expected { 'w:style': [ …(2) ] } to deeply equal { 'w:style': [ …(2) ] } - Expected + Received Object { "w:style": Array [ Object { "_attr": Object { "w:styleId": "myStyleId", "w:type": "paragraph", }, }, Object { "w:pPr": Array [ Object { "w:jc": Object { "_attr": Object { - "w:val": "both", + "w:val": "justified", }, }, }, ], }, ], } ❯ src/file/styles/style/paragraph-style.spec.ts:189:34
Test
Process completed with exit code 1.
CSpell
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Prettier
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build
No files were found with the provided path: build. No artifacts will be uploaded.
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636