-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix component tests #15107
Comments
Hi @yqrashawn, @J-Son89
|
hmm, what are some of the potential (long term) solutions for this? 🤔 |
The compiled lib is built from my local machine with the One simple solution is to use GitHub action to automatically publish patched package, for example https://github.com/marketplace/actions/npm-publish One thing I'm not sure about this is there might still be things that required to be compiled locally which requires to be triggered by Another one is we can just add |
@yqrashawn, curious if you have ever seen/used this package? https://www.npmjs.com/package/patch-package |
The lib folder is generated by What's more, this package relies on hooks as well. So we need still need |
diff --git a/src/status_im2/contexts/shell/bottom_tabs.cljs b/src/status_im2/contexts/shell/bottom_tabs.cljs
index fcbd24bb0..9da51459b 100644
--- a/src/status_im2/contexts/shell/bottom_tabs.cljs
+++ b/src/status_im2/contexts/shell/bottom_tabs.cljs
@@ -42,7 +42,7 @@
(animation/load-stack @animation/selected-stack-id)
(reanimated/set-shared-value (:pass-through? shared-values) pass-through?)
[reanimated/view {:style animated-style}
- (when pass-through?
+ (when true
[blur/view (blur-overlay-params style/bottom-tabs-blur-overlay)])
[rn/view {:style (style/bottom-tabs)}
[bottom-tab :i/communities :communities-stack shared-values notifications-data]
|
looks like this has been fixed |
Summary
follow up from #15071 (comment)
few tests are failing with error:
Cannot find module '@react-native-community/blur' from 'shadow.js.shim.module$$react_native_community$blur.js'
Guide for using ts-jest with react-native https://kulshekhar.github.io/ts-jest/docs/guides/react-native/
Troubleshooting addresses similar error: https://github.com/kulshekhar/ts-jest/blob/main/TROUBLESHOOTING.md
The text was updated successfully, but these errors were encountered: