fix type #26
Annotations
5 errors and 1 warning
Run Unit Tests:
packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js#L863
AssertionError: expected [ 'Bob', 'Bob' ] to be 'Bob' // Object.is equality
- Expected:
"Bob"
+ Received:
Array [
"Bob",
"Bob",
]
❯ packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js:863:30
|
Run Unit Tests:
packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js#L877
AssertionError: expected [ 'Alice', 'Bob' ] to be 'Alice' // Object.is equality
- Expected:
"Alice"
+ Received:
Array [
"Alice",
"Bob",
]
❯ packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js:877:30
|
Run Unit Tests:
packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts#L1337
TypeError: Cannot read properties of undefined (reading 'x')
❯ buildNoteModel packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:1337:35
❯ calculateLoopBounds packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:1572:25
❯ Object.draw packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:816:28
❯ packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js:1682:5
|
Run Unit Tests:
packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts#L1337
TypeError: Cannot read properties of undefined (reading 'x')
❯ buildNoteModel packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:1337:35
❯ calculateLoopBounds packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:1572:25
❯ Object.draw packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:816:28
❯ packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js:1803:5
|
Run Unit Tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading