mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fixing robolectric tests by not skipping androidx instrumentation
Summary: androidx files were not being instrumented properly which meant we would have exceptions thrown by powermock Robolectric Instrumentation config was changed by hand, the remainder is a codemod using abgs + xargs + sed Differential Revision: D14323745 fbshipit-source-id: 56aa97dad5d7197f4eb0ba1fdd80b1583bcad6ac
This commit is contained in:
1 parent
393bf8aaad
commit
f43f48fce1
31 files changed
+31
-31
No files matched your search
@@ -34,7 +34,7 @@ import static org.mockito.Mockito.verify;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
@RunWith(RobolectricTestRunner.class)
|
||||
@PowerMockIgnore({"org.mockito.*", "org.robolectric.*", "android.*"})
|
||||
@PowerMockIgnore({"org.mockito.*", "org.robolectric.*", "androidx.*", "android.*"})
|
||||
public class CompositeReactPackageTest {
|
||||
|
||||
@Rule
|
||||
|
||||
Reference in new issue
Block a user