If you need to use a raster PNG badge, change the '.svg' to '.png' in the link
Fix for #213: throw an error when user tries to iterate over a non-array. Also added test that, without the fix, hangs indefinitely until Jest timeout kicks in.
relevant lines covered
hits per line