Skip to content

Feature/more config to gitgraph #12725

Feature/more config to gitgraph

Feature/more config to gitgraph #12725

Triggered via pull request October 18, 2024 21:11
Status Failure
Total duration 1m 46s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
packages/mermaid/src/diagrams/git/gitGraphParser.ts > GitGraph Parser > should parse a commit statement: packages/mermaid/src/diagrams/git/gitGraphParser.ts#L126
AssertionError: expected "spy" to be called with arguments: [ { id: '1', msg: 'test', …(2) } ] Received: 1st spy call: Array [ Object { + "color": 0, "id": "1", "msg": "test", "tags": Array [ "tag1", "tag2", ], "type": 0, }, ] Number of calls: 1 ❯ packages/mermaid/src/diagrams/git/gitGraphParser.ts:126:29
packages/mermaid/src/diagrams/git/gitGraphParser.ts > GitGraph Parser > should parse a langium generated gitGraph ast: packages/mermaid/src/diagrams/git/gitGraphParser.ts#L229
AssertionError: expected "spy" to be called with arguments: [ { id: '1', msg: 'test', …(2) } ] Received: 1st spy call: Array [ Object { + "color": 0, "id": "1", "msg": "test", "tags": Array [ "tag1", "tag2", ], "type": 0, }, ] 2nd spy call: Array [ Object { + "color": 0, "id": "1", "msg": "test", "tags": Array [ "tag1", "tag2", ], "type": 0, }, ] Number of calls: 2 ❯ packages/mermaid/src/diagrams/git/gitGraphParser.ts:229:29
unit-test
Process completed with exit code 1.