diff --git a/ReactNative/DEFS.bzl b/ReactNative/DEFS.bzl index a9f5b39813a..9cca53e663b 100644 --- a/ReactNative/DEFS.bzl +++ b/ReactNative/DEFS.bzl @@ -150,7 +150,7 @@ def rn_robolectric_test(name, srcs, vm_args=None, *args, **kwargs): # RN tests use Powermock, which means they get their own ClassLoaders. # Because the yoga native library (or any native library) can only be loaded into one # ClassLoader at a time, we need to run each in its own process, hence fork_mode = 'per_test'. - robolectric_test( + native.robolectric_test( name=name, use_cxx_libraries=True, cxx_library_whitelist=[