Skip to content

chore(deps): update typst.ts version to 0.5.1 #7

chore(deps): update typst.ts version to 0.5.1

chore(deps): update typst.ts version to 0.5.1 #7

Triggered via pull request December 18, 2024 14:59
Status Failure
Total duration 27s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
test/typstToTextlintAst.test.ts > getRawTypstAstString > should return raw typst ast string: test/typstToTextlintAst.test.ts#L41
AssertionError: expected '---\npath: main.typ\nast:\n s: <span…' to strictly equal '---\npath: main.typ\nast:\n s: <span…' - Expected + Received --- path: main.typ ast: s: <span style='color:#7dcfff'>Marked::Markup</span> c: - s: <span style='color:#bb9af7'>Kw::Hash</span> &lt;1:0~1:1&gt; - s: <span style='color:#7dcfff'>Marked::SetRule</span> &lt;1:1~1:36&gt; c: - s: <span style='color:#bb9af7'>Kw::Set</span> &lt;1:1~1:4&gt; - s: <span style='color:#7aa2f7'>Fn::(Ident: &quot;page&quot;)</span> &lt;1:5~1:9&gt; - s: <span style='color:#7dcfff'>Marked::Args</span> &lt;1:9~1:36&gt; c: - s: <span style='color:#c0caf5'>Punc::LeftParen</span> &lt;1:9~1:10&gt; - s: <span style='color:#7dcfff'>Marked::Named</span> &lt;1:10~1:21&gt; c: - s: <span style='color:#7dcfff'>Marked::(Ident: &quot;width&quot;)</span> &lt;1:10~1:15&gt; - s: <span style='color:#c0caf5'>Punc::Colon</span> &lt;1:15~1:16&gt; - s: <span style='color:#e08f68'>Num(Numeric, 10Cm)</span> &lt;1:17~1:21&gt; - s: <span style='color:#c0caf5'>Punc::Comma</span> &lt;1:21~1:22&gt; - s: <span style='color:#7dcfff'>Marked::Named</span> &lt;1:23~1:35&gt; c: - s: <span style='color:#7dcfff'>Marked::(Ident: &quot;height&quot;)</span> &lt;1:23~1:29&gt; - s: <span style='color:#c0caf5'>Punc::Colon</span> &lt;1:29~1:30&gt; - s: <span style='color:#bb9af7'>Kw::Auto</span> &lt;1:31~1:35&gt; - s: <span style='color:#c0caf5'>Punc::RightParen</span> &lt;1:35~1:36&gt; - s: <span style='color:#bb9af7'>Kw::Hash</span> &lt;2:0~2:1&gt; - s: <span style='color:#7dcfff'>Marked::SetRule</span> &lt;2:1~2:29&gt; c: - s: <span style='color:#bb9af7'>Kw::Set</span> &lt;2:1~2:4&gt; - s: <span style='color:#7aa2f7'>Fn::(Ident: &quot;heading&quot;)</span> &lt;2:5~2:12&gt; - s: <span style='color:#7dcfff'>Marked::Args</span> &lt;2:12~2:29&gt; c: - s: <span style='color:#c0caf5'>Punc::LeftParen</span> &lt;2:12~2:13&gt; - s: <span style='color:#7dcfff'>Marked::Named</span> &lt;2:13~2:28&gt; c: - s: <span style='color:#7dcfff'>Marked::(Ident: &quot;numbering&quot;)</span> &lt;2:13~2:22&gt; - s: <span style='color:#c0caf5'>Punc::Colon</span> &lt;2:22~2:23&gt; - s: <span style='color:#9ece6a'>Str(&quot;1.&quot;)</span> &lt;2:24~2:28&gt; - s: <span style='color:#c0caf5'>Punc::RightParen</span> &lt;2:28~2:29&gt; - s: <span style='color:#7dcfff'>Marked::Parbreak</span> &lt;2:29~4:0&gt; - s: <span style='color:#7dcfff'>Marked::Heading</span> &lt;4:0~4:20&gt; c: - s: <span style='color:#7dcfff'>Marked::HeadingMarker</span> &lt;4:0~4:1&gt; - s: <span style='color:#7dcfff'>Marked::Markup</span> &lt;4:2~4:20&gt; c: - s: <span style='color:#7dcfff'>Marked::Text</span> &lt;4:2~4:20&gt; - s: <span style='color:#7dcfff'>Marked::Text</span> &lt;5:0~5:45&gt; - s: <span style='color:#7dcfff'>Marked::Text</span> &lt;6:0~6:19&gt; - s: <span style='color:#7dcfff'>Marked::Equation</span> &lt;6:20~6:45&gt; c: - s: <span style='color:#7dcfff'>Marked::Dollar</span> &lt;6:20~6:21&gt; - s: <span style='color:#7dcfff'>Marked::Math</span> &lt;6:21~6:44&gt; c: - s: <span style='color:#7dcfff'>Marked::MathAttach</span> &lt;6:21~6:24&gt; c: - s: <span style='color:#7dcfff'>Marked::Text</span> &lt;6:21~6:22&gt; - s: <span style='color:#7dcfff'>Marked::Underscore</span> &lt;6:22~6:23&gt; - s: <span style='color:#7dcfff'>Marked::Text</span> &lt;6:23~6:24&gt; - s: <span style='color:#7dcfff'>Marked::Text</span> &lt;6:25~6:26&gt; - s: <span style='color:#7dcfff'>Marked::MathAttach</span> &lt;6:27~6:34&gt; c: - s: <span style='color:#7dcfff'>Marked::Text</span> &lt;6:27~6:28&gt; - s: <span style='color:#7dcfff'>Marked::Underscore</span> &lt;6:28~6:29&gt; - s: <span style='color:#7dc
test/typstToTextlintAst.test.ts > convertTypstSourceToParagraphizedTextlintAstObject > should convert Typst source to textlint AST object: test/typstToTextlintAst.test.ts#L107
AssertionError: expected { children: [ { …(5) }, …(25) ], …(4) } to strictly equal { children: [ { …(5) }, …(25) ], …(4) } - Expected + Received Object { "children": Array [ Object { "loc": Object { "end": Object { "column": 1, "line": 1, }, "start": Object { "column": 0, "line": 1, }, }, "range": Array [ 0, 1, ], "raw": "#", "type": "Kw::Hash", "value": "#", }, Object { "children": Array [ Object { "loc": Object { "end": Object { "column": 4, "line": 1, }, "start": Object { "column": 1, "line": 1, }, }, "range": Array [ 1, 4, ], "raw": "set", "type": "Kw::Set", "value": "set", }, Object { "loc": Object { "end": Object { "column": 5, "line": 1, }, "start": Object { "column": 4, "line": 1, }, }, "range": Array [ 4, 5, ], "raw": " ", "type": "Str", "value": " ", }, Object { "loc": Object { "end": Object { "column": 9, "line": 1, }, "start": Object { "column": 5, "line": 1, }, }, "range": Array [ 5, 9, ], "raw": "page", "type": "Fn::(Ident: &quot;page&quot;)", "value": "page", }, Object { "children": Array [ Object { "loc": Object { "end": Object { "column": 10, "line": 1, }, "start": Object { "column": 9, "line": 1, }, }, "range": Array [ 9, 10, ], "raw": "(", "type": "Punc::LeftParen", "value": "(", }, Object { "children": Array [ Object { "loc": Object { "end": Object { "column": 15, "line": 1, }, "start": Object { "column": 10, "line": 1, }, }, "range": Array [ 10, 15, ], "raw": "width", "type": "Marked::(Ident: &quot;width&quot;)", "value": "width", }, Object { "loc": Object { "end": Object { "column": 16, "line": 1, }, "start": Object { "column": 15, "line": 1, }, }, "range": Array [ 15, 16, ], "raw": ":", "type": "Punc::Colon", "value": ":", }, Object { "loc": Object { "end": Object { "column": 17, "line": 1, }, "start": Object { "column": 16,
test
Process completed with exit code 1.