HF RL Explorer

SVG sparklines: add test

SVG sparklines: add test: a task in smol-software-harbor (Harbor dataset). Add tests to test/spark.test.js for sparkPath : a flat series and a single value are drawn at mid height, coordinates are rounded to one decimal (for example 3 points in a width of 10 put the middle point at x = 5 and 7…

The task

Add tests to `test/spark.test.js` for `sparkPath`: a flat series and a single value are drawn at mid height, coordinates are rounded to one decimal (for example 3 points in a width of 10 put the middle point at x = 5 and 7 points at x = 1.7, 3.3, ...), and the largest value is at the top (y = 0). Keep the existing…

Part of efederici/smol-software-harbor.