mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-22 16:59:48 +02:00
use edge case for better coverage
This commit is contained in:
@@ -330,8 +330,8 @@ describe('XY Chart', () => {
|
|||||||
title "Basic xychart with multiple datasets"
|
title "Basic xychart with multiple datasets"
|
||||||
x-axis "Relevant categories" [category1, "category 2", category3, category4]
|
x-axis "Relevant categories" [category1, "category 2", category3, category4]
|
||||||
y-axis Animals 0 --> 160
|
y-axis Animals 0 --> 160
|
||||||
bar "dogs" [40, 20, 40, 30]
|
bar "dogs" [0, 20, 40, 30]
|
||||||
bar "cats" [20, 40, 50, 30]
|
bar "cats" [20, 40, 0, 30]
|
||||||
bar "birds" [30, 60, 50, 30]
|
bar "birds" [30, 60, 50, 30]
|
||||||
`,
|
`,
|
||||||
{}
|
{}
|
||||||
@@ -346,8 +346,8 @@ describe('XY Chart', () => {
|
|||||||
title "Basic xychart with multiple datasets"
|
title "Basic xychart with multiple datasets"
|
||||||
x-axis "Relevant categories" [category1, "category 2", category3, category4]
|
x-axis "Relevant categories" [category1, "category 2", category3, category4]
|
||||||
y-axis Animals 0 --> 160
|
y-axis Animals 0 --> 160
|
||||||
bar "dogs" [40, 20, 40, 30]
|
bar "dogs" [0, 20, 40, 30]
|
||||||
bar "cats" [20, 40, 50, 30]
|
bar "cats" [20, 40, 0, 30]
|
||||||
bar "birds" [30, 60, 50, 30]
|
bar "birds" [30, 60, 50, 30]
|
||||||
`,
|
`,
|
||||||
{}
|
{}
|
||||||
|
Reference in New Issue
Block a user