code: def test_jax_cumprod(
      *,
      dtype_x_axis,
      on_device,
      fn_tree,
      frontend,
      test_flags,
      backend_fw,
  ):
      input_dtype, x, axis, dtype = dtype_x_axis
      helpers.test_frontend_function(
          backend_to_test=backend_fw,
          input_dtypes=[input_dtype],
          frontend=frontend,
          test_flags=test_flags,
          fn_tree=fn_tree,
          on_device=on_device,
          rtol=1e-2,
          a=x[0],
          axis=axis,
          dtype=dtype,
      )
  
imports: from hypothesis import strategies, assume
  import numpy
  import ivy
  import ivy_tests.test_ivy.helpers
  import ivy_tests.test_ivy.test_frontends.test_numpy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
  from ivy_tests.test_ivy.test_functional.test_core.test_statistical import _statistical_dtype_values, _get_castable_dtype
  from ivy import inf
label_desc: Use image node_id 12 for calling a global function with example usage: test_jax_cumprod() without return types