标签: javascript unit-testing react-native jestjs
我需要有关如何编写一个jest单元测试以涵盖以下代码行的建议:
navbarHeight: (Platform.OS === 'ios') ? 64 : 54, statusBarHeight: (Platform.OS === 'ios') ? 16 : 0,