mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-14 05:31:02 +00:00
Fix all shadow deprecation warnings across entire mobile app
- Replaced shadowColor/shadowOffset/shadowOpacity/shadowRadius with boxShadow - Fixed 28 files (21 screens + 7 components) - Preserved elevation for Android compatibility - All React Native Web deprecation warnings resolved Files fixed: - All screen components - All reusable components - Navigation components - Modal components
This commit is contained in:
@@ -3,11 +3,10 @@ module.exports = {
|
||||
setupFiles: ['<rootDir>/jest.setup.before.cjs'],
|
||||
setupFilesAfterEnv: ['<rootDir>/jest.setup.cjs'],
|
||||
transformIgnorePatterns: [
|
||||
'node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|react-native-svg|@polkadot/.*|@babel/runtime)',
|
||||
'node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|react-native-svg|@polkadot/.*|@pezkuwi/.*|@babel/runtime)',
|
||||
'!../shared/.*',
|
||||
],
|
||||
moduleNameMapper: {
|
||||
'^@pezkuwi/(.*)$': '<rootDir>/../shared/$1',
|
||||
'^@/(.*)$': '<rootDir>/src/$1',
|
||||
'react-native-gesture-handler': '<rootDir>/__mocks__/react-native-gesture-handler.js',
|
||||
'react-native-reanimated': '<rootDir>/__mocks__/react-native-reanimated.js',
|
||||
|
||||
Reference in New Issue
Block a user