Use only native robolectric_test rules.
Reviewed By: adamjernst Differential Revision: D6997829 fbshipit-source-id: 5f8d41a6126f02c9fb9d0fb90d89df28eeea9653
This commit is contained in:
parent
0dbe18375e
commit
574c70e771
|
@ -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=[
|
||||
|
|
Loading…
Reference in New Issue