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:
committed by
Facebook Github Bot
parent
393bf8aaad
commit
f43f48fce1
+1
-1
@@ -25,7 +25,7 @@ import org.robolectric.RobolectricTestRunner;
|
||||
* Test that verifies that spec of methods annotated with @ReactProp is correct
|
||||
*/
|
||||
@RunWith(RobolectricTestRunner.class)
|
||||
@PowerMockIgnore({"org.mockito.*", "org.robolectric.*", "android.*"})
|
||||
@PowerMockIgnore({"org.mockito.*", "org.robolectric.*", "androidx.*", "android.*"})
|
||||
public class ReactPropAnnotationSetterSpecTest {
|
||||
|
||||
@Rule
|
||||
|
||||
Reference in New Issue
Block a user