Closed
Description
This masterpiece have to be removed for RN 0.76
react-native-mmkv-storage/jest/mmkvJestSetup.js
Lines 5 to 9 in 09790b4
To reproduce:
- Apply there steps from Readme: https://github.com/ammarahm-ed/react-native-mmkv-storage/tree/master/jest
- Create a simple test file
import {StyleSheet} from 'react-native';
test('test',() => {
StyleSheet.create({a: {color:'red'}})
// ^^^ TypeError: NativeModule.getConstants is not a function
})
Metadata
Metadata
Assignees
Labels
No labels