result_transformer.test.ts
7.72 KB
-
Prometheus: Make result transformer more robust for empty responses · c0c06e4d
- some prometheus-compatible backends may return `null` instead of empty lists - test for lists before iterating - added tests for empty responses
David Kaltschmidt committed