我正在尝试使用本例中的react-native-svg-charts向我的面积图添加一个梯度:https://github.com/JesperLekland/react-native-svg-charts-examplesimport * as shape from 'd3-shape'import * as React from &
我在ReactNative中运行单元测试,这些单元测试需要模拟NativeEventEmitter和NativeModules,但将其他所有内容都保留为真正的代码。/node_modules/react-native/Libraries/TurboModule/TurboModuleRegistry.js:39:3)
at Object./node_modules/react-native/Li