Mocking RN NativeAnimatedHelper - path has been changed
還沒有人認領這個 Issue。
評估
- 難度
- 1/5
- 預估耗時
- 1 小時以內
- 新手友好度
- 94/100
- Issue 類型
- 文件
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- react-native
研究方向
開啟 versioned_docs/version-7.x/testing.md 約第 67 行的位置,並檢視 React Native Animated mocking 程式碼片段。更新它以顯示 RN >= 0.76 的新路徑和 RN < 0.76 的舊路徑,然後確認呈現後的文件是否清楚地呈現這兩個選項。
由索引模型根據 Issue 內容生成。
描述
RN Animated NativeAnimatedHelper.js path has been changed since RN 0.76. The new path should be:
jest.mock('react-native/src/private/animated/NativeAnimatedHelper');
This snippet needs to be updated to mention the new and old paths.
// Silence the warning: Animated: `useNativeDriver` is not supported because the native animated module is missing
import { jest } from '@jest/globals';
// For RN >= 0.76
jest.mock('react-native/src/private/animated/NativeAnimatedHelper');
// For RN <0.76
jest.mock('react-native/Libraries/Animated/NativeAnimatedHelper');
- 主要語言
- JavaScript
- 星號
- 324
- 分支
- 2k
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
react-navigation/react-navigation.github.io 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 90/100
-
難度 1/5 1 小時以內 新手友好度 72/100
-
難度 1/5 1-3 小時 新手友好度 68/100
-
難度 2/5 1-3 小時 新手友好度 72/100
-
Explain that headerTransparent should be the same value for every screen in headerMode: float stack 未關閉
難度 2/5 1-3 小時 新手友好度 62/100
查看 react-navigation/react-navigation.github.io 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 76/100
avniproject/avni-client#2135 ·
-
enhancement
難度 2/5 1-3 小時 新手友好度 70/100
babalae/bettergi-scripts-list#3674 ·
-
A-Release-Notes C-Editing D-Modest S-Ready-For-Implementation
難度 2/5 1-3 小時 新手友好度 72/100
bevyengine/bevy-website#2595 ·
-
ecosystem wording
難度 1/5 1 小時以內 新手友好度 90/100
matrix-org/matrix.org#3649 ·
-
難度 2/5 1-3 小時 新手友好度 88/100
vadimdemedes/ink#1029 ·