Skip to content

Add test case for tiltedCylinder #10835

Add test case for tiltedCylinder

Add test case for tiltedCylinder #10835

Triggered via push August 9, 2024 13:27
Status Failure
Total duration 1m 50s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
unit-test
Property 'shape' does not exist on type '{}'.
unit-test
Property 'shape' does not exist on type '{}'.
unit-test
Property 'shape' does not exist on type '{}'.
unit-test
Property 'shape' does not exist on type '{}'.
unit-test
Property 'shape' does not exist on type '{}'.
unit-test
Property 'label' does not exist on type '{}'.
unit-test
Property 'label' does not exist on type '{}'.
unit-test
Property 'insert' does not exist on type 'SVGAElement'.
packages/mermaid/src/diagrams/flowchart/parser/flow-node-data.spec.js > when parsing directions > should use handle bracket end (}) character inside the shape data: node_modules/.pnpm/js-yaml@4.1.0/node_modules/js-yaml/dist/js-yaml.mjs#L1273
YAMLException: bad indentation of a mapping entry (1:27) 1 | label: "This is }", -------------------------------^ 2 | icon: "clock" 3 | ❯ generateError node_modules/.pnpm/js-yaml@4.1.0/node_modules/js-yaml/dist/js-yaml.mjs:1273:10 ❯ throwError node_modules/.pnpm/js-yaml@4.1.0/node_modules/js-yaml/dist/js-yaml.mjs:1277:9 ❯ readBlockMapping node_modules/.pnpm/js-yaml@4.1.0/node_modules/js-yaml/dist/js-yaml.mjs:2272:7 ❯ composeNode node_modules/.pnpm/js-yaml@4.1.0/node_modules/js-yaml/dist/js-yaml.mjs:2531:12 ❯ readDocument node_modules/.pnpm/js-yaml@4.1.0/node_modules/js-yaml/dist/js-yaml.mjs:2715:3 ❯ loadDocuments node_modules/.pnpm/js-yaml@4.1.0/node_modules/js-yaml/dist/js-yaml.mjs:2778:5 ❯ Module.load$1 node_modules/.pnpm/js-yaml@4.1.0/node_modules/js-yaml/dist/js-yaml.mjs:2804:19 ❯ Object.addVertex packages/mermaid/src/diagrams/flowchart/flowDb.ts:140:22 ❯ Object.anonymous packages/mermaid/src/diagrams/flowchart/parser/flow.jison:141:12 ❯ Parser.parse packages/mermaid/src/diagrams/flowchart/parser/flow.jison:479:36 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { reason: 'bad indentation of a mapping entry', mark: { name: null, buffer: ' label: "This is }",\n icon: "clock"\n \n', position: 26, line: +0, column: 26, snippet: ' 1 | label: "This is }",\n-------------------------------^\n 2 | icon: "clock"\n 3 | ' } }
unit-test
Process completed with exit code 1.