React UI: Fix tests harder (#6316)
React UI: Fix tests harder (#6316)

* React UI: Fix tests harder

Again not sure why this passed last time (?), but now I was getting an
error about 'NaN' not being a valid value to assign to the 'height'
property of the input element. This changes it so that only the blur()
function is actually mocked out on the active input element.

Signed-off-by: Julius Volz <d7748b1e6f41fd74500c5ccae0980eab88c2ef61@gmail.com>

* Fixup

Signed-off-by: Julius Volz <d7748b1e6f41fd74500c5ccae0980eab88c2ef61@gmail.com>

keegancsmith/prometheus,alileza/prometheus,Gouthamve/prometheus,Gouthamve/prometheus,prometheus/prometheus,Gouthamve/prometheus,kangwoo/prometheus,GoogleCloudPlatform/prometheus,prometheus/prometheus,alileza/prometheus,kangwoo/prometheus,alileza/prometheus,prometheus/prometheus,prometheus/prometheus,prometheus/prometheus,keegancsmith/prometheus,kangwoo/prometheus,GoogleCloudPlatform/prometheus,alileza/prometheus,GoogleCloudPlatform/prometheus,alileza/prometheus,kangwoo/prometheus,GoogleCloudPlatform/prometheus,Gouthamve/prometheus,keegancsmith/prometheus,keegancsmith/prometheus,GoogleCloudPlatform/prometheus,keegancsmith/prometheus