Skip to content

Commit 574c70e

Browse files
ttsugriyfacebook-github-bot
authored andcommitted
Use only native robolectric_test rules.
Reviewed By: adamjernst Differential Revision: D6997829 fbshipit-source-id: 5f8d41a6126f02c9fb9d0fb90d89df28eeea9653
1 parent 0dbe183 commit 574c70e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReactNative/DEFS.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def rn_robolectric_test(name, srcs, vm_args=None, *args, **kwargs):
150150
# RN tests use Powermock, which means they get their own ClassLoaders.
151151
# Because the yoga native library (or any native library) can only be loaded into one
152152
# ClassLoader at a time, we need to run each in its own process, hence fork_mode = 'per_test'.
153-
robolectric_test(
153+
native.robolectric_test(
154154
name=name,
155155
use_cxx_libraries=True,
156156
cxx_library_whitelist=[

0 commit comments

Comments
 (0)