Re-enabled disabled tests ReactPropForShadowNodeSpecTest and ReactPropForShadowNodeSetterTest (#1494)

Summary:
Pull Request resolved: https://github.com/facebook/yoga/pull/1494

X-link: https://github.com/facebook/react-native/pull/41788

Those tests are currently disabled due to Yoga attempting to do JNI calls.
I've added infra to bypass .so loading during tests, and we should be good to re-enable those tests by now.

Changelog:
[Internal] [Changed] - Re-enabled disabled tests ReactPropForShadowNodeSpecTest and ReactPropForShadowNodeSetterTest

Reviewed By: NickGerleman

Differential Revision: D51814491

fbshipit-source-id: adbbace19c94a0c6d8947f61221fafafd7797ac8
This commit is contained in:
Nicola Corti
2023-12-05 07:14:20 -08:00
committed by Facebook GitHub Bot
parent dde0fda9f5
commit 7b3b66d288
2 changed files with 2 additions and 2 deletions

View File

@@ -27,5 +27,5 @@ public abstract class YogaConfig {
public abstract YogaLogger getLogger(); public abstract YogaLogger getLogger();
abstract long getNativePointer(); protected abstract long getNativePointer();
} }

View File

@@ -60,7 +60,7 @@ public abstract class YogaConfigJNIBase extends YogaConfig {
return mLogger; return mLogger;
} }
long getNativePointer() { protected long getNativePointer() {
return mNativePointer; return mNativePointer;
} }
} }