Skip to content

Minor refactor value streams dashboard mock data

Ezekiel Kigbo requested to merge ek-parameterize-vsd-mock-metrics-method into master

What does this MR do and why?

Updates mock data used for testing the value streams dashboard:

  • Updates mockMetrics to take an object with keys to specify the metric and relevant value
  • Adds mockChartDataValues to generate chart data
  • Removes unnecessary undefined data

Screenshots or screen recordings

No visual changes

How to set up and validate locally

Run the jest tests locally

$ yarn jest analytics/dashboards

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Ezekiel Kigbo

Merge request reports

Loading