Skip to content

Commit

Permalink
Re-enabled disabled tests ReactPropForShadowNodeSpecTest and ReactPro…
Browse files Browse the repository at this point in the history
…pForShadowNodeSetterTest (#1494)

Summary:

X-link: facebook/react-native#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
  • Loading branch information
cortinico authored and facebook-github-bot committed Dec 5, 2023
1 parent dde0fda commit 8644f14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion java/com/facebook/yoga/YogaConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ public abstract class YogaConfig {

public abstract YogaLogger getLogger();

abstract long getNativePointer();
protected abstract long getNativePointer();
}
2 changes: 1 addition & 1 deletion java/com/facebook/yoga/YogaConfigJNIBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public YogaLogger getLogger() {
return mLogger;
}

long getNativePointer() {
protected long getNativePointer() {
return mNativePointer;
}
}

0 comments on commit 8644f14

Please sign in to comment.