use edge case for better coverage

This commit is contained in:
Axel Müller
2024-01-16 18:41:30 +01:00
parent cf641ba4fd
commit 2972012059

View File

@@ -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]
`, `,
{} {}